mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 14:55:25 +00:00
test: Only run coff_dwarf test on aarch64, x86, x86_64
This will just fail if run on architectures like riscv64.
This commit is contained in:
parent
80c3de40b3
commit
1fcabe0bfc
@ -3,6 +3,14 @@ const builtin = @import("builtin");
|
||||
|
||||
/// This tests the path where DWARF information is embedded in a COFF binary
|
||||
pub fn build(b: *std.Build) void {
|
||||
switch (builtin.cpu.arch) {
|
||||
.aarch64,
|
||||
.x86,
|
||||
.x86_64,
|
||||
=> {},
|
||||
else => return,
|
||||
}
|
||||
|
||||
const test_step = b.step("test", "Test it");
|
||||
b.default_step = test_step;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user