Skip to content

Commit 5e8e7f4

Browse files
committed
add cc build dependency for backtrace support in std
(i forgot to git add this whoops)
1 parent 986c211 commit 5e8e7f4

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -5042,6 +5042,7 @@ version = "0.0.0"
50425042
dependencies = [
50435043
"addr2line 0.16.0",
50445044
"alloc",
5045+
"cc",
50455046
"cfg-if 0.1.10",
50465047
"compiler_builtins",
50475048
"core",

library/std/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ features = ['read_core', 'elf', 'macho', 'pe', 'unaligned', 'archive']
3535
[dev-dependencies]
3636
rand = "0.7"
3737

38+
[build-dependencies]
39+
# Dependency of the `backtrace` crate
40+
cc = "1.0.67"
41+
3842
[target.'cfg(any(all(target_family = "wasm", not(target_os = "emscripten")), all(target_vendor = "fortanix", target_env = "sgx")))'.dependencies]
3943
dlmalloc = { version = "0.2.3", features = ['rustc-dep-of-std'] }
4044

0 commit comments

Comments
 (0)