build(rust): bump the lib's MSRV to 1.76
This commit is contained in:
parent
52ef2992aa
commit
26d4b19006
3 changed files with 7 additions and 5 deletions
|
|
@ -45,7 +45,9 @@ impl WasmStore {
|
|||
unsafe {
|
||||
let mut error = MaybeUninit::<ffi::TSWasmError>::uninit();
|
||||
let store = ffi::ts_wasm_store_new(
|
||||
(engine as *const wasmtime::Engine).cast_mut().cast(),
|
||||
std::ptr::from_ref::<wasmtime::Engine>(engine)
|
||||
.cast_mut()
|
||||
.cast(),
|
||||
error.as_mut_ptr(),
|
||||
);
|
||||
if store.is_null() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue