mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 01:20:46 +00:00
Many of `std`'s dependency have a dependency on the crates.io `compiler-builtins` when used with the feature `rustc-std-workspace-core`. Use a Cargo patch to select the in-tree version instead. `compiler-builtins` is also added as a dependency of `rustc-std-workspace-core` so these crates can remove their crates.io dependency in the future.
23 lines
588 B
TOML
23 lines
588 B
TOML
[package]
|
|
name = "panic_abort"
|
|
version = "0.0.0"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust.git"
|
|
description = "Implementation of Rust panics via process aborts"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
core = { path = "../core" }
|
|
compiler_builtins = { path = "../compiler-builtins/compiler-builtins" }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
libc = { version = "0.2", default-features = false }
|
|
|
|
[target.'cfg(any(target_os = "android", target_os = "zkvm"))'.dependencies]
|
|
alloc = { path = "../alloc" }
|