Skip to content

Commit

Permalink
chore: add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
andeya committed Mar 15, 2022
1 parent 9c97c2e commit d54a09d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions wasmy-vm/src/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,15 @@ where
#[cfg(not(feature = "llvm"))]
{
compiler_config = wasmer_compiler_cranelift::Cranelift::default();
#[cfg(debug_assertions)]
println!("======== wasmy cranelift feature ========")
}

#[cfg(feature = "llvm")]
{
compiler_config = wasmer_compiler_llvm::LLVM::default();
#[cfg(debug_assertions)]
println!("======== wasmy llvm feature ========")
}

let store: Store = Store::new(&Universal::new(compiler_config).engine());
Expand Down

0 comments on commit d54a09d

Please sign in to comment.