mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
b1f1039d8b
And remove the libc crate when it isn't needed
22 lines
546 B
TOML
22 lines
546 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 = "2021"
|
|
|
|
[lib]
|
|
test = false
|
|
bench = false
|
|
doc = false
|
|
|
|
[dependencies]
|
|
alloc = { path = "../alloc" }
|
|
cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
|
|
core = { path = "../core" }
|
|
compiler_builtins = "0.1.0"
|
|
|
|
[target.'cfg(not(all(windows, target_env = "msvc")))'.dependencies]
|
|
libc = { version = "0.2", default-features = false }
|