Commit 67817b230f

Matt Knight <mattnite@protonmail.com>
2020-09-07 02:09:25
fixed improper builtin import
1 parent cf06817
Changed files (1)
lib
std
os
linux
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,