Add WASI serializing test

This commit is contained in:
Mark McCaskey
2019-08-28 10:50:59 -07:00
parent e88a08f973
commit 634aca8b9d
11 changed files with 248 additions and 50 deletions

View File

@ -54,7 +54,7 @@ pub fn generate_import_object(
});
(
Box::leak(state) as *mut WasiState as *mut c_void,
Box::into_raw(state) as *mut c_void,
state_destructor as fn(*mut c_void),
)
};