mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 06:08:29 +00:00
Add WasmerEnv: Sync
This commit is contained in:
@@ -111,6 +111,7 @@ pub unsafe extern "C" fn wasm_func_new_with_env(
|
||||
// Only relevant when using multiple threads in the C API;
|
||||
// Synchronization will be done via the C API / on the C side.
|
||||
unsafe impl Send for WrapperEnv {}
|
||||
unsafe impl Sync for WrapperEnv {}
|
||||
|
||||
impl Drop for WrapperEnv {
|
||||
fn drop(&mut self) {
|
||||
|
||||
Reference in New Issue
Block a user