feat(lib): implement Send + Sync for WasmStore
This commit is contained in:
parent
9365586cc3
commit
27bc78698d
1 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,9 @@ pub struct wasm_engine_t {
|
|||
|
||||
pub struct WasmStore(*mut ffi::TSWasmStore);
|
||||
|
||||
unsafe impl Send for WasmStore {}
|
||||
unsafe impl Sync for WasmStore {}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct WasmError {
|
||||
pub kind: WasmErrorKind,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue