mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
fixed improper builtin import
This commit is contained in:
parent
cf06817768
commit
67817b230f
@ -5,7 +5,6 @@
|
||||
// and substantial portions of the software.
|
||||
usingnamespace std.os;
|
||||
const std = @import("../../std.zig");
|
||||
const builtin = @import("builtin");
|
||||
const expectEqual = std.testing.expectEqual;
|
||||
|
||||
// instruction classes
|
||||
@ -631,7 +630,7 @@ pub const Insn = packed struct {
|
||||
};
|
||||
}
|
||||
|
||||
fn endian_swap(endian: builtin.Endian, comptime size: Size, dst: Reg) Insn {
|
||||
fn endian_swap(endian: std.builtin.Endian, comptime size: Size, dst: Reg) Insn {
|
||||
return Insn{
|
||||
.code = switch (endian) {
|
||||
.Big => 0xdc,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user