Cargo Features

abort-nostd has no features set by default.

[dependencies]
abort-nostd = { version = "0.1.0", features = ["std", "libc"] }
std

Use the standard library abort function

Features from optional dependencies

libc implicit feature

Enables libc

Enable feature = "libc" to use the C standard library's abort function. This requires linking against the C standard library.

We don't use the dep:libc syntax because we want to support versions before Rust 1.60 The default-features are disabled, to avoid using the Rust stdlib.