We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbc4176 commit 256253aCopy full SHA for 256253a
lib/wasi/src/syscalls/mod.rs
@@ -1,6 +1,7 @@
1
use crate::state::WasiState;
2
use wasmer_runtime_core::{memory::Memory, vm::Ctx};
3
4
+#[allow(clippy::mut_from_ref)]
5
fn get_wasi_state(ctx: &Ctx) -> &mut WasiState {
6
unsafe { &mut *(ctx.data as *mut WasiState) }
7
}
0 commit comments