diff options
| author | David Rubin <daviru007@icloud.com> | 2024-04-16 22:44:55 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-05-11 02:17:24 -0700 |
| commit | ffb63a05a3327e64bcf8ec7fd05c6aab8d304480 (patch) | |
| tree | 5284c825f8126f35d756599f524a2f612620ddd4 /lib/std/testing.zig | |
| parent | 2fd83d8c0a8dd28c2474b26ead8cb24d6bde0901 (diff) | |
| download | zig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.tar.gz zig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.zip | |
riscv: finally fix bug + `airAggregateInit`
i just hadn't realized that I placed the `riscv_start` branch in the non-simplified
starts
Diffstat (limited to 'lib/std/testing.zig')
| -rw-r--r-- | lib/std/testing.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/testing.zig b/lib/std/testing.zig index 662351f153..4e895ef3a7 100644 --- a/lib/std/testing.zig +++ b/lib/std/testing.zig @@ -22,7 +22,7 @@ pub var base_allocator_instance = std.heap.FixedBufferAllocator.init(""); pub var log_level = std.log.Level.warn; // Disable printing in tests for simple backends. -pub const backend_can_print = builtin.zig_backend != .stage2_spirv64 and builtin.zig_backend != .stage2_riscv64; +pub const backend_can_print = !(builtin.zig_backend == .stage2_spirv64 or builtin.zig_backend == .stage2_riscv64); fn print(comptime fmt: []const u8, args: anytype) void { if (@inComptime()) { |
