Dave Tucker
|
60badbcc73
|
Merge pull request #4 from alessandrod/cargo-toml-target
ebpf: set target and enable -Z build-std in .cargo/config.toml
|
3 years ago |
Alessandro Decina
|
81a98fe13a
|
ebpf: set opt-level = 2
Pretty much all non trivial programs need at least opt-level=2 to
compile and link successfully
|
3 years ago |
Alessandro Decina
|
a9a659716b
|
ebpf: set target and enable -Z build-std in .cargo/config.toml
This makes it possible to build with:
cd {{project-name}}-ebpf && cargo +nightly build
|
3 years ago |
Dave Tucker
|
5d018fd6ba
|
Add xtask for building ebpf programs
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
|
4 years ago |
Dave Tucker
|
9e1c761d8d
|
Initial Commit
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
|
4 years ago |