Skip to content

Commit 3d4aada

Browse files
committed
cli-compiler: fix non-compilation with default features
Crate cannot be published on crates.io if the default compilation does not work.
1 parent f01ad34 commit 3d4aada

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/cli-compiler/src/bin/wasmer_compiler.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
use wasmer_compiler_cli::cli::wasmer_main;
22

3-
#[cfg(not(any(feature = "cranelift", feature = "singlepass", feature = "llvm")))]
4-
compile_error!(
5-
"Either enable at least one compiler, or compile the wasmer-headless binary instead"
6-
);
7-
8-
#[cfg(featue = "run")]
3+
#[cfg(feature = "run")]
94
compile_error!("Cannot enable run with the compile-only build");
105

116
fn main() {

0 commit comments

Comments
 (0)