Skip to content

Commit

Permalink
Remove __wasi_bindgen_thread_id
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
fschutt committed Aug 5, 2022
1 parent 18b773b commit e5feb97
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/wasi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ impl From<WasiBusProcessId> 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
Expand Down

0 comments on commit e5feb97

Please sign in to comment.