Commit cb5f76bb1c

Matt Knight <mattnite@protonmail.com>
2020-09-13 18:24:56
got booleans wrong
1 parent b043a31
Changed files (1)
lib
std
os
linux
lib/std/os/linux/bpf/kern.zig
@@ -6,8 +6,8 @@
 const std = @import("../../../std.zig");
 
 const in_bpf_program = switch (std.builtin.arch) {
-    .bpfel, .bpfeb => false,
-    else => true,
+    .bpfel, .bpfeb => true,
+    else => false,
 };
 
 pub const helpers = if (in_bpf_program) @import("helpers.zig") else struct {};