mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:14:44 +00:00
This config was added in 207de019dc67 ("libary: Forward
compiler-builtins "asm" and "mangled-names" feature") but it does not
appear this has ever been used. The PR adding it (RUST-78472) says that
this was exposed to help with configuration and points at the [Hermit
Cargo config], but as far as I can tell, this feature name has never
been mentioned in that repository's git history.
Thus, clean up a seemingly unneeded feature.
[Hermit Cargo config]: ab2b830930/.cargo/config
37 lines
1.0 KiB
TOML
37 lines
1.0 KiB
TOML
cargo-features = ["public-dependency"]
|
|
|
|
[package]
|
|
name = "alloc"
|
|
version = "0.0.0"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rust-lang/rust.git"
|
|
description = "The Rust core allocation and collections library"
|
|
autotests = false
|
|
autobenches = false
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
test = false
|
|
bench = false
|
|
|
|
[dependencies]
|
|
core = { path = "../core", public = true }
|
|
compiler_builtins = { path = "../compiler-builtins/compiler-builtins", features = ["rustc-dep-of-std"] }
|
|
|
|
[features]
|
|
compiler-builtins-mem = ['compiler_builtins/mem']
|
|
compiler-builtins-c = ["compiler_builtins/c"]
|
|
compiler-builtins-no-f16-f128 = ["compiler_builtins/no-f16-f128"]
|
|
# Make panics and failed asserts immediately abort without formatting any message
|
|
panic_immediate_abort = ["core/panic_immediate_abort"]
|
|
# Choose algorithms that are optimized for binary size instead of runtime performance
|
|
optimize_for_size = ["core/optimize_for_size"]
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
check-cfg = [
|
|
'cfg(no_global_oom_handling)',
|
|
'cfg(no_rc)',
|
|
'cfg(no_sync)',
|
|
]
|