mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user