diff --git a/lib/runtime/src/cache.rs b/lib/runtime/src/cache.rs index 9b452c70a29..8b9bc4b0ccc 100644 --- a/lib/runtime/src/cache.rs +++ b/lib/runtime/src/cache.rs @@ -120,7 +120,6 @@ mod tests { use super::*; use std::env; - use wasmer_runtime_core::backend::Backend; #[test] fn test_file_system_cache_run() { @@ -149,7 +148,7 @@ mod tests { .unwrap() }; // store module - let key = WasmHash::generate(&wasm, Backend::Cranelift); + let key = WasmHash::generate(&wasm); fs_cache.store(key, module.clone()).unwrap(); // load module