use rustc-dep-of-std in panic_unwind · model-checking/verify-rust-std@90dbe22 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 90dbe22
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.
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -16,7 +16,7 @@ alloc = { path = "../alloc" } | ||
16 | 16 | core = { path = "../core" } |
17 | 17 | unwind = { path = "../unwind" } |
18 | 18 | compiler_builtins = "0.1.0" |
19 | -cfg-if = "1.0" | |
19 | +cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] } | |
20 | 20 | |
21 | 21 | [target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies] |
22 | 22 | libc = { version = "0.2", default-features = false } |