Merge branch 'master' into feature/add-syscalls-for-php

This commit is contained in:
Mark McCaskey
2019-03-25 10:17:18 -07:00
committed by GitHub
42 changed files with 7019 additions and 85 deletions

View File

@ -186,7 +186,13 @@ mod tests {
LLVMCompiler::new()
}
#[cfg(not(any(feature = "llvm", feature = "clif")))]
#[cfg(feature = "dynasm")]
fn get_compiler() -> impl Compiler {
use wasmer_dynasm_backend::SinglePassCompiler;
SinglePassCompiler::new()
}
#[cfg(not(any(feature = "llvm", feature = "clif", feature = "dynasm")))]
fn get_compiler() -> impl Compiler {
panic!("compiler not specified, activate a compiler via features");
use wasmer_clif_backend::CraneliftCompiler;