File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -239,8 +239,6 @@ pub const Instance = opaque {
239239 /// using the same `Store` as given.
240240 pub fn init (store : * Store , module : * Module , import : []const * Func ) ! * Instance {
241241 var trap : ? * Trap = null ;
242- var instance : ? * Instance = null ;
243-
244242 var imports = ExternVec .initWithCapacity (import .len );
245243 defer imports .deinit ();
246244
@@ -672,7 +670,7 @@ pub const ValVec = extern struct {
672670
673671// Func
674672pub extern "c" fn wasm_functype_new (args : * ValtypeVec , results : * ValtypeVec ) ? * c_void ;
675- pub extern "c" fn wasm_functype_delete (functype : * c_void ) c_void ;
673+ pub extern "c" fn wasm_functype_delete (functype : * c_void ) void ;
676674
677675pub const WasiConfig = opaque {
678676 /// Options to inherit when inherriting configs
You can’t perform that action at this time.
0 commit comments