Xinzhao Xu
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
examples/threads.rs
|
|
@ -15,7 +15,7 @@ const N_REPS: i32 = 3; |
|
|
|
fn main() -> Result<()> { |
|
|
|
println!("Initializing..."); |
|
|
|
|
|
|
|
// Initialize global per-process state. This state will be shared amonst all
|
|
|
|
// Initialize global per-process state. This state will be shared amongst all
|
|
|
|
// threads. Notably this includes the compiled module as well as a `Linker`,
|
|
|
|
// which contains all our host functions we want to define.
|
|
|
|
let engine = Engine::default(); |
|
|
|