Bpf: move under os/linux instead of bits (#6126)
* moved bpf syscall, added some bpf instructions and tests * had to move bpf out of bits so that a freestanding target could import it * removed line * fixed imports
This commit is contained in:
@@ -29,6 +29,7 @@ pub usingnamespace switch (builtin.arch) {
|
||||
};
|
||||
pub usingnamespace @import("bits.zig");
|
||||
pub const tls = @import("linux/tls.zig");
|
||||
pub const BPF = @import("linux/bpf.zig");
|
||||
|
||||
/// Set by startup code, used by `getauxval`.
|
||||
pub var elf_aux_maybe: ?[*]std.elf.Auxv = null;
|
||||
|
||||
Reference in New Issue
Block a user