got booleans wrong
This commit is contained in:
parent
b043a31889
commit
cb5f76bb1c
@ -6,8 +6,8 @@
|
|||||||
const std = @import("../../../std.zig");
|
const std = @import("../../../std.zig");
|
||||||
|
|
||||||
const in_bpf_program = switch (std.builtin.arch) {
|
const in_bpf_program = switch (std.builtin.arch) {
|
||||||
.bpfel, .bpfeb => false,
|
.bpfel, .bpfeb => true,
|
||||||
else => true,
|
else => false,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const helpers = if (in_bpf_program) @import("helpers.zig") else struct {};
|
pub const helpers = if (in_bpf_program) @import("helpers.zig") else struct {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user