From e5feb97bf3880dbb8d80a4aa050a06df837de3dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Fri, 5 Aug 2022 10:50:53 +0200 Subject: [PATCH] Remove __wasi_bindgen_thread_id After talking to John, he mentioned that this function was once implemented in Wasmer, but it isn't implemented anymore, therefore preventing running wasmer-wasi using wasmer itself. Removing this buinding should do absolutely nothing, as it's not used anywhere (anymore). --- lib/wasi/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/wasi/src/lib.rs b/lib/wasi/src/lib.rs index 74a7ff15530..2fa44e0f887 100644 --- a/lib/wasi/src/lib.rs +++ b/lib/wasi/src/lib.rs @@ -113,12 +113,6 @@ impl From for u32 { } } -#[cfg(target_family = "wasm")] -#[link(wasm_import_module = "__wbindgen_thread_xform__")] -extern "C" { - fn __wbindgen_thread_id() -> u32; -} - #[derive(Debug, Clone)] pub struct WasiThread { /// ID of this thread