From bd9b53d9cf976539ed977e0535325ee12091543c Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sun, 12 Jan 2025 10:52:10 +1300 Subject: Unlink the verbose and debug modes Previously, having debug mode turned on would automatically turn on verbose mode, even if the verbose mode flag hadn't been set by the user. This is undesirable if you just want to test a fragment of code and see a concise stack state without all the verbose output. --- src/bin/br.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/bin/br.rs b/src/bin/br.rs index 9dcaaef..9f6c10e 100644 --- a/src/bin/br.rs +++ b/src/bin/br.rs @@ -48,10 +48,6 @@ fn main() { } fn main_run(args: Run) { - if args.debug { - unsafe { VERBOSE = true; } - } - let program_path = args.program.as_ref().map(|p| p.as_path()); let Bytecode { bytes: bytecode, path } = load_bytecode(program_path); let symbols_path = path.as_ref().map(|p| { -- cgit v1.2.3-70-g09d2