mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-03 14:34:58 +00:00
The three panic-related library crates need to have access to `core`, and `compiler-builtins` needs to be in the crate graph. Rather than specifying both dependencies, switch these crates to use `rustc-std-workspace-core` which already does this. This means there is now a single place that the `compiler-builtins` dependency needs to get configured, for everything other than `alloc` and `std`.
26 lines
695 B
TOML
26 lines
695 B
TOML
[package]
|
|
name = "panic_unwind"
|
|
version = "0.0.0"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust.git"
|
|
description = "Implementation of Rust panics via stack unwinding"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
alloc = { path = "../alloc" }
|
|
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
|
|
core = { path = "../rustc-std-workspace-core", package = "rustc-std-workspace-core" }
|
|
unwind = { path = "../unwind" }
|
|
|
|
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
|
|
libc = { version = "0.2", default-features = false }
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
check-cfg = ['cfg(emscripten_wasm_eh)']
|