mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-30 09:01:33 +00:00
Improve some docs and misc code segments
This commit is contained in:
@ -88,7 +88,7 @@ impl Instance for LocalInstance {
|
||||
}
|
||||
}
|
||||
let offset = self.offsets[id];
|
||||
let addr: *const u8 = unsafe { self.code.as_ptr().offset(offset as isize) };
|
||||
let addr: *const u8 = unsafe { self.code.as_ptr().add(offset) };
|
||||
use std::mem::transmute;
|
||||
Ok(unsafe {
|
||||
match args_u64.len() {
|
||||
|
Reference in New Issue
Block a user