got booleans wrong

This commit is contained in:
Matt Knight 2020-09-13 09:24:56 -07:00
parent b043a31889
commit cb5f76bb1c
No known key found for this signature in database
GPG Key ID: 0A6DED1E48D25122

View File

@ -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 {};