mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 15:13:08 +00:00
* Oops, I accidentally disabled most of them. * Cleanup some workarounds for now closed issues. * Test binary operations with more scalar integer types.
15 lines
556 B
Zig
15 lines
556 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/binary.zig");
|
|
_ = @import("x86_64/cast.zig");
|
|
_ = @import("x86_64/mem.zig");
|
|
_ = @import("x86_64/unary.zig");
|
|
}
|