mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 22:58:18 +00:00
wasmer-cli: remove configuration options for engines
Since there's now only one engine, no need to expose it to the user.
This commit is contained in:
@@ -22,7 +22,7 @@ impl Validate {
|
||||
.context(format!("failed to validate `{}`", self.path.display()))
|
||||
}
|
||||
fn inner_execute(&self) -> Result<()> {
|
||||
let (store, _engine_type, _compiler_type) = self.store.get_store()?;
|
||||
let (store, _compiler_type) = self.store.get_store()?;
|
||||
let module_contents = std::fs::read(&self.path)?;
|
||||
if !is_wasm(&module_contents) {
|
||||
bail!("`wasmer validate` only validates WebAssembly files");
|
||||
|
||||
Reference in New Issue
Block a user