diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2024-04-05 12:50:31 +0000 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2024-04-05 12:50:31 +0000 |
| commit | 7d008267dddcda74ebdb83d3da9b3f16c7f56973 (patch) | |
| tree | 1f81ffbe4a0a26b57ee74e588da8572718fcb6ef /library/std/src/sys/pal/wasm/atomics/thread.rs | |
| parent | d009f60b55fe4527e7ddf122bc4520f351d7b9d4 (diff) | |
| download | rust-7d008267dddcda74ebdb83d3da9b3f16c7f56973.tar.gz rust-7d008267dddcda74ebdb83d3da9b3f16c7f56973.zip | |
Revert #121666
This reverts #121666 due to #123495
Diffstat (limited to 'library/std/src/sys/pal/wasm/atomics/thread.rs')
| -rw-r--r-- | library/std/src/sys/pal/wasm/atomics/thread.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/library/std/src/sys/pal/wasm/atomics/thread.rs b/library/std/src/sys/pal/wasm/atomics/thread.rs index 3923ff821d9..49f936f1449 100644 --- a/library/std/src/sys/pal/wasm/atomics/thread.rs +++ b/library/std/src/sys/pal/wasm/atomics/thread.rs @@ -1,5 +1,4 @@ use crate::ffi::CStr; -use crate::ffi::CString; use crate::io; use crate::num::NonZero; use crate::sys::unsupported; @@ -18,9 +17,6 @@ impl Thread { pub fn yield_now() {} pub fn set_name(_name: &CStr) {} - pub fn get_name() -> Option<CString> { - None - } pub fn sleep(dur: Duration) { use crate::arch::wasm32; |
