Skip to content

Commit

Permalink
use rustc-dep-of-std in panic_unwind
Browse files Browse the repository at this point in the history
Wihout it, std keeps rebuiling when unchanged.
But we could use `--keep-stage=1` to make it not rebuild.
  • Loading branch information
tesuji committed Jun 16, 2024
1 parent c3c1757 commit 90dbe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panic_unwind/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit 90dbe22

Please sign in to comment.