Skip to content

Commit

Permalink
Merge pull request #3075 from wasmerio/remove-useless-c-calls
Browse files Browse the repository at this point in the history
Remove __wbindgen_thread_id
  • Loading branch information
syrusakbary authored Aug 5, 2022
2 parents 0c2468f + 61af393 commit 0aa8e50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Looking for changes that affect our C API? See the [C API Changelog](lib/c-api/C
### Added

### Changed
- [#3075](https://github.com/wasmerio/wasmer/pull/3075) Remove __wbindgen_thread_id

### Fixed

Expand Down
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 0aa8e50

Please sign in to comment.