about summary refs log tree commit diff
path: root/src/libstd/sys/wasm
diff options
context:
space:
mode:
authorTatsuyuki Ishi <ishitatsuyuki@gmail.com>2018-03-24 13:47:36 +0900
committerTatsuyuki Ishi <ishitatsuyuki@gmail.com>2018-03-24 13:49:08 +0900
commit91279904345e2ecd3f52b17339183bbe3bd11203 (patch)
treeff541a7c1bfafa015ca515309602a842fe324be7 /src/libstd/sys/wasm
parent2928c7a8a253b655132ac9f2beb4ca74540f0e14 (diff)
downloadrust-91279904345e2ecd3f52b17339183bbe3bd11203.tar.gz
rust-91279904345e2ecd3f52b17339183bbe3bd11203.zip
Fix build on non-Unix platforms
Diffstat (limited to 'src/libstd/sys/wasm')
-rw-r--r--src/libstd/sys/wasm/thread.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/wasm/thread.rs b/src/libstd/sys/wasm/thread.rs
index 6a066509b49..7345843b975 100644
--- a/src/libstd/sys/wasm/thread.rs
+++ b/src/libstd/sys/wasm/thread.rs
@@ -46,4 +46,5 @@ pub mod guard {
     pub type Guard = !;
     pub unsafe fn current() -> Option<Guard> { None }
     pub unsafe fn init() -> Option<Guard> { None }
+    pub unsafe fn deinit() {}
 }