commit f01f78e10da35b1b9acf69574241b5ef3eaf3bd7
parent 400e65b5d8eb33098ee6004eaf1f85a38ad73c9b
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date: Wed, 23 Sep 2026 21:44:21 -0300
review: name the debug packages in every build so the release vets clean
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/review/main.odin b/review/main.odin
@@ -50,6 +50,11 @@ usage: review [flags] [rev] the staged change, or a revision range
--model m Which model, in whatever form the provider names them.
`
+// The debug packages are wired in under ODIN_DEBUG below; the release
+// build still names them, so the import stands in every configuration.
+_ :: debug.Allocator
+_ :: trace.assertion_failure_proc
+
Flags :: struct {
as_json, verbose, show, no_verify, fresh, exit_code: bool,
only, which, model, rev, message_file, baseline_path: string,