zig/test/behavior/x86_64.zig
2025-03-01 16:29:22 -05:00

13 lines
481 B
Zig

//! CodeGen tests for the x86_64 backend.
test {
const builtin = @import("builtin");
if (builtin.zig_backend != .stage2_x86_64) return error.SkipZigTest;
// MachO linker does not support executables this big.
if (builtin.object_format == .macho) return error.SkipZigTest;
// COFF linker does not support the new backend.
if (builtin.object_format == .coff) return error.SkipZigTest;
_ = @import("x86_64/math.zig");
_ = @import("x86_64/mem.zig");
}