| ... | ... | @@ -1,3 +1,12 @@ |
| 1 | const StackTrace = @This(); |
| 2 | |
| 3 | const builtin = @import("builtin"); |
| 4 | |
| 5 | const std = @import("std"); |
| 6 | const Step = std.Build.Step; |
| 7 | const OptimizeMode = std.lang.OptimizeMode; |
| 8 | const mem = std.mem; |
| 9 | |
| 1 | 10 | b: *std.Build, |
| 2 | 11 | step: *Step, |
| 3 | 12 | test_filters: []const []const u8, |
| ... | ... | @@ -45,7 +54,7 @@ fn addCaseTarget( |
| 45 | 54 | triple: ?[]const u8, |
| 46 | 55 | ) void { |
| 47 | 56 | const both_backends = b: { |
| 48 | | if (comptime builtin.cpu.arch.endian() == .big) break :b false; // https://github.com/ziglang/zig/issues/25961 |
| 57 | if (builtin.cpu.arch.endian() == .big) break :b false; // https://codeberg.org/ziglang/zig/issues/31522 |
| 49 | 58 | break :b switch (target.result.cpu.arch) { |
| 50 | 59 | .x86_64 => switch (target.result.ofmt) { |
| 51 | 60 | .elf => !target.result.os.tag.isBSD() and target.result.os.tag != .illumos, |
| ... | ... | @@ -235,7 +244,6 @@ fn addCaseInstance( |
| 235 | 244 | run.expectStdOutEqual(""); |
| 236 | 245 | |
| 237 | 246 | const check_run = b.addRunArtifact(self.convert_exe); |
| 238 | | check_run.skip_foreign_checks = true; |
| 239 | 247 | check_run.setName(annotated_case_name); |
| 240 | 248 | check_run.addFileArg(run.captureStdErr(.{})); |
| 241 | 249 | check_run.expectExitCode(0); |
| ... | ... | @@ -243,10 +251,3 @@ fn addCaseInstance( |
| 243 | 251 | |
| 244 | 252 | self.step.dependOn(&check_run.step); |
| 245 | 253 | } |
| 246 | | |
| 247 | | const StackTrace = @This(); |
| 248 | | const std = @import("std"); |
| 249 | | const builtin = @import("builtin"); |
| 250 | | const Step = std.Build.Step; |
| 251 | | const OptimizeMode = std.builtin.OptimizeMode; |
| 252 | | const mem = std.mem; |