Fully test the alloc crate through alloctests
For the tests that make use of internal implementation details, we include the module to test using #[path] in alloctests now.
This commit is contained in:
parent
75485a2c09
commit
540565e5b9
1 changed files with 3 additions and 3 deletions
|
@ -12,15 +12,15 @@ index 7165c3e48af..968552ad435 100644
|
||||||
--- a/library/alloc/Cargo.toml
|
--- a/library/alloc/Cargo.toml
|
||||||
+++ b/library/alloc/Cargo.toml
|
+++ b/library/alloc/Cargo.toml
|
||||||
@@ -11,7 +11,7 @@ test = { path = "../test" }
|
@@ -11,7 +11,7 @@ test = { path = "../test" }
|
||||||
edition = "2021"
|
bench = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
core = { path = "../core", public = true }
|
core = { path = "../core", public = true }
|
||||||
-compiler_builtins = { version = "=0.1.151", features = ['rustc-dep-of-std'] }
|
-compiler_builtins = { version = "=0.1.151", features = ['rustc-dep-of-std'] }
|
||||||
+compiler_builtins = { version = "=0.1.151", features = ['rustc-dep-of-std', 'no-f16-f128'] }
|
+compiler_builtins = { version = "=0.1.151", features = ['rustc-dep-of-std', 'no-f16-f128'] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[features]
|
||||||
rand = { version = "0.8.5", default-features = false, features = ["alloc"] }
|
compiler-builtins-mem = ['compiler_builtins/mem']
|
||||||
--
|
--
|
||||||
2.34.1
|
2.34.1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue