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:
Matthew Knight
2020-08-22 12:08:01 -07:00
committed by GitHub
parent 9605e5363b
commit 0fa3cfdb4a
3 changed files with 2 additions and 4 deletions

View File

@@ -24,7 +24,6 @@ pub usingnamespace switch (builtin.arch) {
};
pub usingnamespace @import("linux/netlink.zig");
pub const BPF = @import("linux/bpf.zig");
const is_mips = builtin.arch.isMIPS();