authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-30 15:36:02+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-07-01 23:03:15+02:00
log1fcabe0bfcad7bd981ce883a2c407f2b023320ad
tree1d8796335b20d30239188a1d9c14a9625ff044f6
parent80c3de40b3a9b9a751200c07d7eaf4d6965ca5c2
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Only run coff_dwarf test on aarch64, x86, x86_64

This will just fail if run on architectures like riscv64.

1 files changed, 8 insertions(+), 0 deletions(-)

test/standalone/coff_dwarf/build.zig+8
...@@ -3,6 +3,14 @@ const builtin = @import("builtin");...@@ -3,6 +3,14 @@ const builtin = @import("builtin");
33
4/// This tests the path where DWARF information is embedded in a COFF binary4/// This tests the path where DWARF information is embedded in a COFF binary
5pub fn build(b: *std.Build) void {5pub fn build(b: *std.Build) void {
6 switch (builtin.cpu.arch) {
7 .aarch64,
8 .x86,
9 .x86_64,
10 => {},
11 else => return,
12 }
13
6 const test_step = b.step("test", "Test it");14 const test_step = b.step("test", "Test it");
7 b.default_step = test_step;15 b.default_step = test_step;
816