mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
c811915eaf
This was an accidental regression from #56092, but for `no_std` targets being built and distributed we want to be sure to activate the compiler-builtins `mem` feature which demangles important memory-related intrinsics.
34 lines
631 B
TOML
34 lines
631 B
TOML
[package]
|
|
authors = ["The Rust Project Developers"]
|
|
name = "alloc"
|
|
version = "0.0.0"
|
|
autotests = false
|
|
autobenches = false
|
|
|
|
[lib]
|
|
name = "alloc"
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
core = { path = "../libcore" }
|
|
compiler_builtins = { version = "0.1.0", features = ['rustc-dep-of-std'] }
|
|
|
|
[dev-dependencies]
|
|
rand = "0.6"
|
|
|
|
[[test]]
|
|
name = "collectionstests"
|
|
path = "../liballoc/tests/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "collectionsbenches"
|
|
path = "../liballoc/benches/lib.rs"
|
|
|
|
[[bench]]
|
|
name = "vec_deque_append_bench"
|
|
path = "../liballoc/benches/vec_deque_append.rs"
|
|
harness = false
|
|
|
|
[features]
|
|
compiler-builtins-mem = ['compiler_builtins/mem']
|