Skip to content

Commit 2265486

Browse files
authored
Unrolled build for #145096
Rollup merge of #145096 - Spxg:w/wasm_atomic, r=tgross35 Fix wasm target build with atomics feature Introduced by #115746 close #145101
2 parents 2de2456 + c3e504d commit 2265486

File tree

1 file changed

+4
-0
lines changed
  • library/std/src/sys/pal/wasm/atomics

1 file changed

+4
-0
lines changed

library/std/src/sys/pal/wasm/atomics/thread.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ impl Thread {
5656
pub fn join(self) {}
5757
}
5858

59+
pub(crate) fn current_os_id() -> Option<u64> {
60+
None
61+
}
62+
5963
pub fn available_parallelism() -> io::Result<NonZero<usize>> {
6064
unsupported()
6165
}

0 commit comments

Comments
 (0)