about summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-12-04 14:26:18 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2024-12-04 14:32:04 +0000
commitb440ef8cdf029476d84e6ce8841f1e549d60998f (patch)
tree192dbce455a4b09d02f0268f0fb7f35b758a5904 /library/alloc/src/lib.rs
parent733616f7236b4be140ce851a30b3bb06532b9364 (diff)
downloadrust-b440ef8cdf029476d84e6ce8841f1e549d60998f.tar.gz
rust-b440ef8cdf029476d84e6ce8841f1e549d60998f.zip
Move some alloc tests to the alloctests crate
Unit tests directly inside of standard library crates require a very
fragile way of building that is hard to reproduce outside of bootstrap.
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 84f4202c02a..b514cc792ce 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -238,8 +238,6 @@ pub mod string;
 pub mod sync;
 #[cfg(all(not(no_global_oom_handling), not(no_rc), not(no_sync)))]
 pub mod task;
-#[cfg(test)]
-mod tests;
 pub mod vec;
 
 #[doc(hidden)]