]> git.lizzy.rs Git - rust.git/blobdiff - src/libunwind/Cargo.toml
Auto merge of #63233 - RalfJung:get_unchecked, r=Centril
[rust.git] / src / libunwind / Cargo.toml
index 2378b0a315a169701182fd1d398c1bdc0a9e1d70..f0f1bab425d7af10c4e8d4aea1544c3d8f5fb5ce 100644 (file)
@@ -4,6 +4,9 @@ name = "unwind"
 version = "0.0.0"
 build = "build.rs"
 edition = "2018"
+include = [
+  '/libunwind/*',
+]
 
 [lib]
 name = "unwind"
@@ -16,3 +19,10 @@ doc = false
 core = { path = "../libcore" }
 libc = { version = "0.2.43", features = ['rustc-dep-of-std'], default-features = false }
 compiler_builtins = "0.1.0"
+cfg-if = "0.1.8"
+
+[build-dependencies]
+cc = { optional = true, version = "1.0.1" }
+
+[features]
+llvm-libunwind = ["cc"]