Skip to content

Commit

Permalink
FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacarte committed Aug 15, 2023
1 parent 4df17ac commit e45c5e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions host_based/tracer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,13 @@ pub fn execute_wasm(path: String) {
// let instance = linker.instantiate(&mut store, &module).unwrap();

let instance = linker.instantiate(&mut store, &module).expect("Module cannot instantiate");
unsafe {_mm_mfence();};
std::thread::sleep(std::time::Duration::from_millis(1000));



let func = instance
.get_func(&mut store, "_start")
.unwrap()
.typed::<(), ()>(&mut store)
.unwrap();
unsafe {_mm_mfence();};

func.call(&mut store, ())
.unwrap();
Expand Down

0 comments on commit e45c5e3

Please sign in to comment.