cli-compiler: fix non-compilation with default features

Crate cannot be published on crates.io if the default compilation does
not work.
This commit is contained in:
Manos Pitsidianakis
2022-06-06 23:23:38 +03:00
parent f01ad34b8c
commit 3d4aada4dd

View File

@@ -1,11 +1,6 @@
use wasmer_compiler_cli::cli::wasmer_main;
#[cfg(not(any(feature = "cranelift", feature = "singlepass", feature = "llvm")))]
compile_error!(
"Either enable at least one compiler, or compile the wasmer-headless binary instead"
);
#[cfg(featue = "run")]
#[cfg(feature = "run")]
compile_error!("Cannot enable run with the compile-only build");
fn main() {