| 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 = "2024" |
| 7 | include = [ |
| 8 | '/libunwind/*' , |
| 9 | ] |
| 10 | |
| 11 | [lib] |
| 12 | test = false |
| 13 | bench = false |
| 14 | doc = false |
| 15 | |
| 16 | [dependencies] |
| 17 | core = { path = "../rustc-std-workspace-core" , package = "rustc-std-workspace-core" } |
| 18 | |
| 19 | [target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] |
| 20 | libc = { version = "0.2.140" , features = ['rustc-dep-of-std' ], default-features = false } |
| 21 | |
| 22 | [target.'cfg(target_os = "xous")'.dependencies] |
| 23 | unwinding = { version = "0.2.7" , 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 |
| 29 | llvm-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 |
| 34 | system-llvm-libunwind = [] |
| 35 | |
| 36 | [lints.rust.unexpected_cfgs] |
| 37 | level = "warn" |
| 38 | check-cfg = ['cfg(emscripten_wasm_eh)' , 'cfg(target_arch, values("loongarch32"))' ] |
| 39 | |