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.
This commit is contained in:
Lzu Tao 2024-06-01 11:14:14 +00:00
parent f9515fdd5a
commit 06aee7ee03
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ alloc = { path = "../alloc" }
core = { path = "../core" }
unwind = { path = "../unwind" }
compiler_builtins = "0.1.0"
cfg-if = "1.0"
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
libc = { version = "0.2", default-features = false }