1[package]
2name = "alloc"
3version = "0.0.0"
4license = "MIT OR Apache-2.0"
5repository = "https://github.com/rust-lang/rust.git"
6description = "The Rust core allocation and collections library"
7autotests = false
8autobenches = false
9edition = "2021"
10
11[dependencies]
12core = { path = "../core" }
13compiler_builtins = { version = "0.1.40", features = ['rustc-dep-of-std'] }
14
15[dev-dependencies]
16rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
17rand_xorshift = "0.3.0"
18
19[[test]]
20name = "alloctests"
21path = "tests/lib.rs"
22
23[[bench]]
24name = "allocbenches"
25path = "benches/lib.rs"
26test = true
27
28[[bench]]
29name = "vec_deque_append_bench"
30path = "benches/vec_deque_append.rs"
31harness = false
32
33[features]
34compiler-builtins-mem = ['compiler_builtins/mem']
35compiler-builtins-c = ["compiler_builtins/c"]
36compiler-builtins-no-asm = ["compiler_builtins/no-asm"]
37compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
38compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]
39# Make panics and failed asserts immediately abort without formatting any message
40panic_immediate_abort = []
41