Skip to content

Commit 256253a

Browse files
committed
Fix clippy lint
1 parent dbc4176 commit 256253a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/wasi/src/syscalls/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use crate::state::WasiState;
22
use wasmer_runtime_core::{memory::Memory, vm::Ctx};
33

4+
#[allow(clippy::mut_from_ref)]
45
fn get_wasi_state(ctx: &Ctx) -> &mut WasiState {
56
unsafe { &mut *(ctx.data as *mut WasiState) }
67
}

0 commit comments

Comments
 (0)