mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-02 18:11:34 +00:00
Cleanup internal logic.
This commit is contained in:
@ -1,10 +1,5 @@
|
||||
use blake2::{Blake2b, Digest};
|
||||
|
||||
#[link(wasm_import_module = "wasmer_suspend")]
|
||||
extern "C" {
|
||||
fn check_interrupt();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let mut data: Vec<u8> = b"test".to_vec();
|
||||
|
||||
@ -17,8 +12,5 @@ fn main() {
|
||||
if i % 1000000 == 0 {
|
||||
println!("Round {}: {:?}", i, data);
|
||||
}
|
||||
unsafe {
|
||||
check_interrupt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user