8eb7f36a3b
This is duplicated in a few locations throughout the sysroot to work around issues with not exporting a macro in libstd but still wanting it available to sysroot crates to define blocks. Nowadays though we can simply depend on the `cfg-if` crate on crates.io, allowing us to use it from there!
20 lines
384 B
TOML
20 lines
384 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "panic_unwind"
|
|
version = "0.0.0"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
alloc = { path = "../liballoc" }
|
|
core = { path = "../libcore" }
|
|
libc = { version = "0.2", default-features = false }
|
|
unwind = { path = "../libunwind" }
|
|
compiler_builtins = "0.1.0"
|
|
cfg-if = "0.1.8"
|