Allow disabling state tracking for faster startup.

This commit is contained in:
losfair
2019-07-12 23:33:54 +08:00
parent f327feccef
commit 08cdc9a42f
4 changed files with 21 additions and 1 deletions

View File

@ -117,6 +117,7 @@ pub struct CompilerConfig {
pub symbol_map: Option<HashMap<u32, String>>,
pub memory_bound_check_mode: MemoryBoundCheckMode,
pub enforce_stack_check: bool,
pub track_state: bool,
}
pub trait Compiler {