mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 17:15:37 +00:00
got booleans wrong
This commit is contained in:
parent
b043a31889
commit
cb5f76bb1c
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user