diff options
Diffstat (limited to 'src/libstd/sys/wasm/thread_local.rs')
| -rw-r--r-- | src/libstd/sys/wasm/thread_local.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/thread_local.rs b/src/libstd/sys/wasm/thread_local.rs index 8a0ca6f3d25..f8be9863ed5 100644 --- a/src/libstd/sys/wasm/thread_local.rs +++ b/src/libstd/sys/wasm/thread_local.rs @@ -1,7 +1,7 @@ pub type Key = usize; #[inline] -pub unsafe fn create(_dtor: Option<unsafe extern fn(*mut u8)>) -> Key { +pub unsafe fn create(_dtor: Option<unsafe extern "C" fn(*mut u8)>) -> Key { panic!("should not be used on the wasm target"); } |
