Implement it for memory and make Instance Send

This commit is contained in:
Mark McCaskey
2019-09-17 14:58:26 -07:00
parent 9e9343878d
commit 83c3909b00
7 changed files with 37 additions and 24 deletions

View File

@ -474,6 +474,8 @@ pub struct ImportedFunc {
pub vmctx: *mut Ctx,
}
unsafe impl Send for ImportedFunc {}
impl ImportedFunc {
#[allow(clippy::erasing_op)] // TODO
pub fn offset_func() -> u8 {