Files
wasmer/lib/cli-compiler/src/bin/wasmer_compiler.rs
Manos Pitsidianakis 3d4aada4dd cli-compiler: fix non-compilation with default features
Crate cannot be published on crates.io if the default compilation does
not work.
2022-06-06 23:24:04 +03:00

9 lines
167 B
Rust

use wasmer_compiler_cli::cli::wasmer_main;
#[cfg(feature = "run")]
compile_error!("Cannot enable run with the compile-only build");
fn main() {
wasmer_main();
}