(&self)
| 42 | |
| 43 | impl DiffEngine for WasmtimeEngine { |
| 44 | fn name(&self) -> &'static str { |
| 45 | match self.config.wasmtime.compiler_strategy { |
| 46 | CompilerStrategy::CraneliftNative => "wasmtime", |
| 47 | CompilerStrategy::Winch => "winch", |
| 48 | CompilerStrategy::CraneliftPulley => "pulley", |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | fn instantiate(&mut self, wasm: &[u8]) -> Result<Box<dyn DiffInstance>> { |
| 53 | let store = self.config.to_store(); |
no outgoing calls
no test coverage detected