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:
Manos Pitsidianakis
2022-06-15 13:21:55 +03:00
parent 086205bfcc
commit 7bf5d9d1e3
9 changed files with 54 additions and 186 deletions

View File

@@ -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");