add compiler error instead

This commit is contained in:
Mackenzie Clark 2019-03-27 16:55:12 -07:00
parent b6eb830bf4
commit c9613bdcea

View File

@ -175,9 +175,7 @@ mod tests {
} }
#[cfg(not(any(feature = "llvm", feature = "clif", feature = "dynasm")))] #[cfg(not(any(feature = "llvm", feature = "clif", feature = "dynasm")))]
fn get_compiler() -> impl Compiler { compile_error!("compiler not specified, activate a compiler via features");
panic!("compiler not specified, activate a compiler via features")
}
#[test] #[test]
fn should_detect_emscripten_files() { fn should_detect_emscripten_files() {