summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-01-12 10:52:10 +1300
committerBen Bridle <ben@derelict.engineering>2025-01-12 10:52:10 +1300
commitbd9b53d9cf976539ed977e0535325ee12091543c (patch)
treed237ec1c80ae55d4be34756c670c02315182d4de
parent3c43d039d7e374ee0139ea19a50446c515c93a5b (diff)
downloadbedrock-pc-bd9b53d9cf976539ed977e0535325ee12091543c.zip
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.
-rw-r--r--src/bin/br.rs4
1 files changed, 0 insertions, 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| {