about summary refs log tree commit diff
path: root/library/panic_unwind
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-06-21 16:00:14 +0000
committerbors <bors@rust-lang.org>2024-06-21 16:00:14 +0000
commit5ced3dad5752cc9423a19e9a5aafad6e12ed3063 (patch)
treed72679e475776ac388eefad7edfced31bc77acea /library/panic_unwind
parent25c9f2ca06d6d8d5f314362ffd17e71a8df55546 (diff)
parent7002a3f37f93fff2edceabbfea348d60dc444c55 (diff)
Auto merge of #125853 - tesuji:promote-fail-fast, r=cjgillot
promote_consts: some clean-up after experimenting

This is some clean-up after experimenting in #125916,
Prefer to review commit-by-commit.
Diffstat (limited to 'library/panic_unwind')
-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 }