1 | [package] |
2 | name = "unwind" |
3 | version = "0.0.0" |
4 | license = "MIT OR Apache-2.0" |
5 | repository = "https://github.com/rust-lang/rust.git" |
6 | edition = "2021" |
7 | include = [ |
8 | '/libunwind/*' , |
9 | ] |
10 | |
11 | [lib] |
12 | test = false |
13 | bench = false |
14 | doc = false |
15 | |
16 | [dependencies] |
17 | core = { path = "../core" } |
18 | compiler_builtins = "0.1.0" |
19 | cfg-if = "1.0" |
20 | |
21 | [target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] |
22 | libc = { version = "0.2.140" , features = ['rustc-dep-of-std' ], default-features = false } |
23 | |
24 | [target.'cfg(target_os = "xous")'.dependencies] |
25 | unwinding = { version = "0.2.1" , features = ['rustc-dep-of-std' , 'unwinder' , 'fde-custom' ], default-features = false } |
26 | |
27 | [features] |
28 | |
29 | # Only applies for Linux and Fuchsia targets |
30 | # Static link to the in-tree build of llvm libunwind |
31 | llvm-libunwind = [] |
32 | |
33 | # Only applies for Linux and Fuchsia targets |
34 | # If crt-static is enabled, static link to `libunwind.a` provided by system |
35 | # If crt-static is disabled, dynamic link to `libunwind.so` provided by system |
36 | system-llvm-libunwind = [] |
37 | |