rust/src/libcore/Cargo.toml
Vitaly _Vi Shukela fdef3848a0
Add libstd and libcore Cargo features "panic_immediate_abort"
It stop asserts and panics from libstd to automatically
include string output and formatting code.

Use case: developing static executables smaller than 50 kilobytes,
where usual formatting code is excessive while keeping debuggability
in debug mode.

May resolve #54981.
2018-11-30 00:56:41 +03:00

27 lines
469 B
TOML

[package]
authors = ["The Rust Project Developers"]
name = "core"
version = "0.0.0"
autotests = false
autobenches = false
[lib]
name = "core"
path = "lib.rs"
test = false
bench = false
[[test]]
name = "coretests"
path = "../libcore/tests/lib.rs"
[[bench]]
name = "corebenches"
path = "../libcore/benches/lib.rs"
[dev-dependencies]
rand = "0.5"
[features]
# Make panics and failed asserts immediately abort without formatting any message
panic_immediate_abort = []