]>
git.proxmox.com Git - rustc.git/blob - src/libstd/sys/wasm/thread_local.rs
4 pub unsafe fn create(_dtor
: Option
<unsafe extern "C" fn(*mut u8)>) -> Key
{
5 panic
!("should not be used on the wasm target");
9 pub unsafe fn set(_key
: Key
, _value
: *mut u8) {
10 panic
!("should not be used on the wasm target");
14 pub unsafe fn get(_key
: Key
) -> *mut u8 {
15 panic
!("should not be used on the wasm target");
19 pub unsafe fn destroy(_key
: Key
) {
20 panic
!("should not be used on the wasm target");
24 pub fn requires_synchronized_create() -> bool
{
25 panic
!("should not be used on the wasm target");