We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9173cd commit 49c1f5cCopy full SHA for 49c1f5c
crates/wasmedge-sys/src/plugin.rs
@@ -50,7 +50,8 @@ impl PluginManager {
50
.iter()
51
.map(|&x| std::ffi::CString::new(x).unwrap())
52
.collect();
53
- let c_strs: Vec<*const i8> = c_args.iter().map(|x| x.as_ptr()).collect();
+ let c_strs: Vec<*const ::std::os::raw::c_char> =
54
+ c_args.iter().map(|x| x.as_ptr()).collect();
55
let len = c_strs.len() as u32;
56
unsafe { ffi::WasmEdge_PluginInitWASINN(c_strs.as_ptr(), len) }
57
}
0 commit comments