commit 67817b230f9da645eee22bdb98e715b1505c8f16 (tree)
parent cf06817768a347353735ddc908c74ca17c1d7d15
Author: Matt Knight <mattnite@protonmail.com>
Date: Sun, 6 Sep 2020 17:09:25 -0700
fixed improper builtin import
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/std/os/linux/bpf.zig b/lib/std/os/linux/bpf.zig
@@ -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,