Move definition of ModuleMemoryOffset (#3228)
This was historically defined in `wasmtime-environ` but it's only used in `wasmtime-cranelift`, so this commit moves the definition to the `debug` module where it's primarily used.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use crate::debug::ModuleMemoryOffset;
|
||||
use crate::func_environ::{get_func_name, FuncEnvironment};
|
||||
use crate::obj::{ObjectBuilder, ObjectBuilderTarget};
|
||||
use crate::{
|
||||
@@ -25,8 +26,8 @@ use std::mem;
|
||||
use std::sync::Mutex;
|
||||
use wasmtime_environ::{
|
||||
CompileError, FilePos, FlagValue, FunctionAddressMap, FunctionBodyData, FunctionInfo,
|
||||
InstructionAddressMap, Module, ModuleMemoryOffset, ModuleTranslation, StackMapInformation,
|
||||
TrapCode, TrapInformation, Tunables, TypeTables, VMOffsets,
|
||||
InstructionAddressMap, Module, ModuleTranslation, StackMapInformation, TrapCode,
|
||||
TrapInformation, Tunables, TypeTables, VMOffsets,
|
||||
};
|
||||
|
||||
/// A compiler that compiles a WebAssembly module with Compiler, translating
|
||||
|
||||
Reference in New Issue
Block a user