about summary refs log tree commit diff
path: root/library/std/src/sys/pal/wasi/thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/std/src/sys/pal/wasi/thread.rs')
-rw-r--r--library/std/src/sys/pal/wasi/thread.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/wasi/thread.rs b/library/std/src/sys/pal/wasi/thread.rs
index a46c74630c9..4755e2ef5da 100644
--- a/library/std/src/sys/pal/wasi/thread.rs
+++ b/library/std/src/sys/pal/wasi/thread.rs
@@ -194,6 +194,10 @@ impl Thread {
     }
 }
 
+pub(crate) fn current_os_id() -> Option<u64> {
+    None
+}
+
 pub fn available_parallelism() -> io::Result<NonZero<usize>> {
     cfg_if::cfg_if! {
         if #[cfg(target_feature = "atomics")] {