Skip to content

Commit 93dc713

Browse files
committed
Flip the default for 'track-state' from on to off. The flag is --track-state.
1 parent 6e69374 commit 93dc713

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/wasmer.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ struct Run {
177177

178178
/// Whether or not state tracking should be disabled during compilation.
179179
/// State tracking is necessary for tier switching and backtracing.
180-
#[structopt(long = "no-track-state")]
181-
no_track_state: bool,
180+
#[structopt(long = "track-state")]
181+
track_state: bool,
182182

183183
/// The command name is a string that will override the first argument passed
184184
/// to the wasm program. This is used in wapm to provide nicer output in
@@ -419,7 +419,7 @@ fn execute_wasm(options: &Run) -> Result<(), String> {
419419
}
420420
}
421421

422-
let track_state = !options.no_track_state;
422+
let track_state = options.track_state;
423423

424424
#[cfg(feature = "loader-kernel")]
425425
let is_kernel_loader = if let Some(LoaderName::Kernel) = options.loader {

0 commit comments

Comments
 (0)