1[package]
2name = "unwind"
3version = "0.0.0"
4license = "MIT OR Apache-2.0"
5repository = "https://github.com/rust-lang/rust.git"
6edition = "2021"
7include = [
8 '/libunwind/*',
9]
10
11[lib]
12test = false
13bench = false
14doc = false
15
16[dependencies]
17core = { path = "../core" }
18compiler_builtins = "0.1.0"
19cfg-if = "1.0"
20
21[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
22libc = { version = "0.2.140", features = ['rustc-dep-of-std'], default-features = false }
23
24[target.'cfg(target_os = "xous")'.dependencies]
25unwinding = { 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
31llvm-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
36system-llvm-libunwind = []
37