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.
27 lines
469 B
TOML
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 = []
|