Skip to content

Commit 0e3d350

Browse files
committed
Fix warning
1 parent ec990da commit 0e3d350

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/wasmtime/src/compile.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ use crate::prelude::*;
2929
use std::{any::Any, borrow::Cow, collections::BTreeMap, mem, ops::Range};
3030

3131
use call_graph::CallGraph;
32-
#[cfg(feature = "component-model")]
33-
use wasmtime_environ::component::Translator;
3432
use wasmtime_environ::{
3533
Abi, BuiltinFunctionIndex, CompiledFunctionBody, CompiledFunctionsTable,
3634
CompiledFunctionsTableBuilder, CompiledModuleInfo, Compiler, DefinedFuncIndex, FilePos,
3735
FinishedObject, FuncKey, FunctionBodyData, InliningCompiler, IntraModuleInlining,
3836
ModuleEnvironment, ModuleTranslation, ModuleTypes, ModuleTypesBuilder, ObjectKind, PrimaryMap,
39-
StaticModuleIndex, Tunables, WasmChecksum,
37+
StaticModuleIndex, Tunables,
4038
};
39+
#[cfg(feature = "component-model")]
40+
use wasmtime_environ::{WasmChecksum, component::Translator};
4141

4242
mod call_graph;
4343
mod scc;

0 commit comments

Comments
 (0)