diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-09 13:38:42 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-09 13:38:42 -0800 |
| commit | 54bbc73f8502fe073d385361ddb34a43d12eec39 (patch) | |
| tree | 6eb554a4639f2c05bdfa5fc94553edc7f5df1650 /test/src/Cases.zig | |
| parent | d3cf911a803912a5aabe7a8d130c8b6468b95ff1 (diff) | |
| parent | 318e9cdaaae2f01c1a6e5db9cf66fe875821787e (diff) | |
| download | zig-54bbc73f8502fe073d385361ddb34a43d12eec39.tar.gz zig-54bbc73f8502fe073d385361ddb34a43d12eec39.zip | |
Merge pull request #18712 from Vexu/std.options
std: make options a struct instance instead of a namespace
Diffstat (limited to 'test/src/Cases.zig')
| -rw-r--r-- | test/src/Cases.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/Cases.zig b/test/src/Cases.zig index 614cf690a9..3e3470dfe5 100644 --- a/test/src/Cases.zig +++ b/test/src/Cases.zig @@ -1207,8 +1207,8 @@ const WaitGroup = std.Thread.WaitGroup; const build_options = @import("build_options"); const Package = @import("../../src/Package.zig"); -pub const std_options = struct { - pub const log_level: std.log.Level = .err; +pub const std_options = .{ + .log_level = .err, }; var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{ |
