Skip to content

Commit

Permalink
Fix non-component-model build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 31, 2024
1 parent 7ee695c commit 68cc77a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/wasmtime/src/runtime/trampoline/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ use alloc::sync::Arc;
use core::ops::Range;
use wasmtime_environ::{
DefinedMemoryIndex, DefinedTableIndex, EntityIndex, HostPtr, MemoryPlan, MemoryStyle, Module,
VMOffsets,
Tunables, VMOffsets,
};

#[cfg(feature = "component-model")]
use wasmtime_environ::{
component::{Component, VMComponentOffsets},
StaticModuleIndex, Tunables,
StaticModuleIndex,
};

/// Create a "frankenstein" instance with a single memory.
Expand Down

0 comments on commit 68cc77a

Please sign in to comment.