Skip to content

Commit 90dbe22

Browse files
committed
use rustc-dep-of-std in panic_unwind
Wihout it, std keeps rebuiling when unchanged. But we could use `--keep-stage=1` to make it not rebuild.
1 parent c3c1757 commit 90dbe22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

panic_unwind/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ alloc = { path = "../alloc" }
1616
core = { path = "../core" }
1717
unwind = { path = "../unwind" }
1818
compiler_builtins = "0.1.0"
19-
cfg-if = "1.0"
19+
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
2020

2121
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
2222
libc = { version = "0.2", default-features = false }

0 commit comments

Comments
 (0)