aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZachary Raineri <zach@raineri.software>2023-08-09 13:39:34 -0500
committerGitHub <noreply@github.com>2023-08-09 14:39:34 -0400
commit0461a64a93f0596e98b62d596bb547e5455577d2 (patch)
treebbf00bc95c15a411c4427e9fbf69d285404bc0d9 /test
parent72c68f698ed2153f2a9e3b2c7166fa03bb03ae1a (diff)
downloadzig-0461a64a93f0596e98b62d596bb547e5455577d2.tar.gz
zig-0461a64a93f0596e98b62d596bb547e5455577d2.zip
change uses of std.builtin.Mode to OptimizeMode (#16745)
std.builtin.Mode is deprecated.
Diffstat (limited to 'test')
-rw-r--r--test/src/Cases.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/Cases.zig b/test/src/Cases.zig
index aa88ad5c95..1252da0e95 100644
--- a/test/src/Cases.zig
+++ b/test/src/Cases.zig
@@ -74,7 +74,7 @@ pub const Case = struct {
/// In order to be able to run e.g. Execution updates, this must be set
/// to Executable.
output_mode: std.builtin.OutputMode,
- optimize_mode: std.builtin.Mode = .Debug,
+ optimize_mode: std.builtin.OptimizeMode = .Debug,
updates: std.ArrayList(Update),
emit_bin: bool = true,
emit_h: bool = false,