about summary refs log tree commit diff
path: root/library/std/src/sys/pal/wasm/mod.rs
diff options
context:
space:
mode:
authorjoboet <jonasboettiger@icloud.com>2024-02-15 18:00:24 +0100
committerjoboet <jonasboettiger@icloud.com>2024-02-16 12:10:49 +0100
commit21fef03da217282b484035505c1bc09a175a2eeb (patch)
treeb7b2995ab2b0c69e145bff8d9d90864ecb7bda97 /library/std/src/sys/pal/wasm/mod.rs
parentf77c4d57fce469b5cdee5f7b871ffe3ee4f633ef (diff)
downloadrust-21fef03da217282b484035505c1bc09a175a2eeb.tar.gz
rust-21fef03da217282b484035505c1bc09a175a2eeb.zip
std: move locks to `sys` on platforms without threads
Diffstat (limited to 'library/std/src/sys/pal/wasm/mod.rs')
-rw-r--r--library/std/src/sys/pal/wasm/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/wasm/mod.rs b/library/std/src/sys/pal/wasm/mod.rs
index 910a54b2e01..40b15120e6d 100644
--- a/library/std/src/sys/pal/wasm/mod.rs
+++ b/library/std/src/sys/pal/wasm/mod.rs
@@ -48,8 +48,6 @@ cfg_if::cfg_if! {
         #[path = "atomics/thread.rs"]
         pub mod thread;
     } else {
-        #[path = "../unsupported/locks/mod.rs"]
-        pub mod locks;
         #[path = "../unsupported/once.rs"]
         pub mod once;
         #[path = "../unsupported/thread.rs"]