about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2024-06-01 11:14:14 +0000
committerLzu Tao <taolzu@gmail.com>2024-06-16 09:38:30 +0000
commit06aee7ee03a87a53c29f72f08e41469b9d88232e (patch)
tree44f696139764486fb64771724df1b7ffba67a8ab
parentf9515fdd5aa132e27d9b580a35b27f4b453251c1 (diff)
downloadrust-06aee7ee03a87a53c29f72f08e41469b9d88232e.tar.gz
rust-06aee7ee03a87a53c29f72f08e41469b9d88232e.zip
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.
-rw-r--r--library/panic_unwind/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/panic_unwind/Cargo.toml b/library/panic_unwind/Cargo.toml
index dce2da31644..f830808d196 100644
--- a/library/panic_unwind/Cargo.toml
+++ b/library/panic_unwind/Cargo.toml
@@ -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 }