about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorConnor Tsui <connor.tsui20@gmail.com>2024-11-16 12:24:33 -0500
committerConnor Tsui <connor.tsui20@gmail.com>2024-11-16 12:31:14 -0500
commitfc52cdd9a8b9c2b2e21b0976373e6b54f4c3b5fa (patch)
tree902cd1fb728db660265ef19c1282188224d9614e /library/std/src
parent782b07e1ff4a4f8ecf00d5e030dfead9222d2185 (diff)
downloadrust-fc52cdd9a8b9c2b2e21b0976373e6b54f4c3b5fa.tar.gz
rust-fc52cdd9a8b9c2b2e21b0976373e6b54f4c3b5fa.zip
reduce threads in downgrade test
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/sync/rwlock/tests.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sync/rwlock/tests.rs b/library/std/src/sync/rwlock/tests.rs
index 5413a062cef..02ac1c85b91 100644
--- a/library/std/src/sync/rwlock/tests.rs
+++ b/library/std/src/sync/rwlock/tests.rs
@@ -515,7 +515,7 @@ fn test_downgrade_observe() {
     // Taken from the test `test_rwlock_downgrade` from:
     // https://github.com/Amanieu/parking_lot/blob/master/src/rwlock.rs
 
-    const W: usize = if cfg!(target_pointer_width = "64") { 100 } else { 20 };
+    const W: usize = 20;
     const N: usize = 100;
 
     // This test spawns `W` writer threads, where each will increment a counter `N` times, ensuring