mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
Fix lint
This commit is contained in:
@@ -95,9 +95,7 @@ impl Default for Store {
|
||||
}
|
||||
|
||||
#[allow(unreachable_code, unused_mut)]
|
||||
fn get_engine(
|
||||
mut config: impl CompilerConfig + 'static,
|
||||
) -> impl Engine + Send + Sync {
|
||||
fn get_engine(mut config: impl CompilerConfig + 'static) -> impl Engine + Send + Sync {
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(feature = "default-jit")] {
|
||||
wasmer_engine_jit::JIT::new(config)
|
||||
|
||||
Reference in New Issue
Block a user