fixed improper builtin import

This commit is contained in:
Matt Knight 2020-09-06 17:09:25 -07:00
parent cf06817768
commit 67817b230f
No known key found for this signature in database
GPG Key ID: 0A6DED1E48D25122

View File

@ -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,