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" }
18libc = { version = "0.2.140", features = ['rustc-dep-of-std'], default-features = false }
19compiler_builtins = "0.1.0"
20cfg-if = "1.0"
21
22[target.'cfg(target_os = "xous")'.dependencies]
23unwinding = { version = "0.2.1", features = ['rustc-dep-of-std', 'unwinder', 'fde-custom'], default-features = false }
24
25[features]
26
27# Only applies for Linux and Fuchsia targets
28# Static link to the in-tree build of llvm libunwind
29llvm-libunwind = []
30
31# Only applies for Linux and Fuchsia targets
32# If crt-static is enabled, static link to `libunwind.a` provided by system
33# If crt-static is disabled, dynamic link to `libunwind.so` provided by system
34system-llvm-libunwind = []
35