mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
add compiler error instead
This commit is contained in:
parent
b6eb830bf4
commit
c9613bdcea
@ -175,9 +175,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[cfg(not(any(feature = "llvm", feature = "clif", feature = "dynasm")))]
|
||||
fn get_compiler() -> impl Compiler {
|
||||
panic!("compiler not specified, activate a compiler via features")
|
||||
}
|
||||
compile_error!("compiler not specified, activate a compiler via features");
|
||||
|
||||
#[test]
|
||||
fn should_detect_emscripten_files() {
|
||||
|
Loading…
Reference in New Issue
Block a user