Don't export the 'Local' type from cton_wasm.
This type is not longer used in any public interface, it has become an internal implementation detail. Also remove some unused exported types from the crate.
This commit is contained in:
@@ -25,5 +25,5 @@ mod translation_utils;
|
||||
|
||||
pub use module_translator::{translate_module, TranslationResult};
|
||||
pub use runtime::{FuncEnvironment, WasmRuntime, DummyRuntime};
|
||||
pub use translation_utils::{Local, FunctionIndex, GlobalIndex, TableIndex, MemoryIndex, RawByte,
|
||||
MemoryAddress, SignatureIndex, Global, GlobalInit, Table, Memory};
|
||||
pub use translation_utils::{FunctionIndex, GlobalIndex, TableIndex, MemoryIndex, SignatureIndex,
|
||||
Global, GlobalInit, Table, Memory};
|
||||
|
||||
@@ -13,10 +13,6 @@ pub type GlobalIndex = usize;
|
||||
pub type MemoryIndex = usize;
|
||||
/// Index of a signature (imported or defined) inside the WebAssembly module.
|
||||
pub type SignatureIndex = usize;
|
||||
/// Raw byte read from memory.
|
||||
pub type RawByte = u8;
|
||||
/// Pointer referring to a memory address.
|
||||
pub type MemoryAddress = usize;
|
||||
|
||||
/// WebAssembly import.
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
||||
Reference in New Issue
Block a user