diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-04 14:26:18 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-12-04 14:32:04 +0000 |
| commit | b440ef8cdf029476d84e6ce8841f1e549d60998f (patch) | |
| tree | 192dbce455a4b09d02f0268f0fb7f35b758a5904 /library/alloc/src/sync.rs | |
| parent | 733616f7236b4be140ce851a30b3bb06532b9364 (diff) | |
| download | rust-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/sync.rs')
| -rw-r--r-- | library/alloc/src/sync.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/library/alloc/src/sync.rs b/library/alloc/src/sync.rs index b8bdd298c27..6cf41a3fa4e 100644 --- a/library/alloc/src/sync.rs +++ b/library/alloc/src/sync.rs @@ -39,9 +39,6 @@ use crate::string::String; #[cfg(not(no_global_oom_handling))] use crate::vec::Vec; -#[cfg(test)] -mod tests; - /// A soft limit on the amount of references that may be made to an `Arc`. /// /// Going above this limit will abort your program (although not |
