diff options
| author | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2018-03-24 13:47:36 +0900 |
|---|---|---|
| committer | Tatsuyuki Ishi <ishitatsuyuki@gmail.com> | 2018-03-24 13:49:08 +0900 |
| commit | 91279904345e2ecd3f52b17339183bbe3bd11203 (patch) | |
| tree | ff541a7c1bfafa015ca515309602a842fe324be7 /src/libstd/sys/cloudabi | |
| parent | 2928c7a8a253b655132ac9f2beb4ca74540f0e14 (diff) | |
| download | rust-91279904345e2ecd3f52b17339183bbe3bd11203.tar.gz rust-91279904345e2ecd3f52b17339183bbe3bd11203.zip | |
Fix build on non-Unix platforms
Diffstat (limited to 'src/libstd/sys/cloudabi')
| -rw-r--r-- | src/libstd/sys/cloudabi/thread.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/cloudabi/thread.rs b/src/libstd/sys/cloudabi/thread.rs index 78a3b82546e..a22d9053b69 100644 --- a/src/libstd/sys/cloudabi/thread.rs +++ b/src/libstd/sys/cloudabi/thread.rs @@ -118,6 +118,7 @@ pub mod guard { pub unsafe fn init() -> Option<Guard> { None } + pub unsafe fn deinit() {} } fn min_stack_size(_: *const libc::pthread_attr_t) -> usize { |
