mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Remove engine-staticlib
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
use crate::commands::Binfmt;
|
||||
#[cfg(feature = "compiler")]
|
||||
use crate::commands::Compile;
|
||||
#[cfg(all(feature = "staticlib", feature = "compiler"))]
|
||||
use crate::commands::CreateExe;
|
||||
#[cfg(feature = "wast")]
|
||||
use crate::commands::Wast;
|
||||
use crate::commands::{Cache, Config, Inspect, Run, SelfUpdate, Validate};
|
||||
@@ -46,11 +44,6 @@ enum WasmerCLIOptions {
|
||||
#[structopt(name = "compile")]
|
||||
Compile(Compile),
|
||||
|
||||
/// Compile a WebAssembly binary into a native executable
|
||||
#[cfg(all(feature = "staticlib", feature = "compiler"))]
|
||||
#[structopt(name = "create-exe")]
|
||||
CreateExe(CreateExe),
|
||||
|
||||
/// Get various configuration information needed
|
||||
/// to compile programs which use Wasmer
|
||||
#[structopt(name = "config")]
|
||||
@@ -84,8 +77,6 @@ impl WasmerCLIOptions {
|
||||
Self::Validate(validate) => validate.execute(),
|
||||
#[cfg(feature = "compiler")]
|
||||
Self::Compile(compile) => compile.execute(),
|
||||
#[cfg(all(feature = "staticlib", feature = "compiler"))]
|
||||
Self::CreateExe(create_exe) => create_exe.execute(),
|
||||
Self::Config(config) => config.execute(),
|
||||
Self::Inspect(inspect) => inspect.execute(),
|
||||
#[cfg(feature = "wast")]
|
||||
|
||||
Reference in New Issue
Block a user