You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This matches the version used in the bpf-linker binstall job. Otherwise
we fail with:
```
= note: bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by bpf-linker)
bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by bpf-linker)
bpf-linker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by bpf-linker)
```
Add a nightly build so we catch these earlier.
|
1 year ago | |
|---|---|---|
| .cargo | 2 years ago | |
| .github | 1 year ago | |
| .vim | 4 years ago | |
| .vscode | 4 years ago | |
| xtask | 2 years ago | |
| {{project-name}} | 2 years ago | |
| {{project-name}}-common | 2 years ago | |
| {{project-name}}-ebpf | 2 years ago | |
| .dir-locals.el | 1 year ago | |
| .gitignore | 1 year ago | |
| Cargo.toml | 2 years ago | |
| README.md | 2 years ago | |
| cargo-generate.toml | 2 years ago | |
| pre-script.rhai | 3 years ago | |
| test.sh | 2 years ago | |
README.md
{{project-name}}
Prerequisites
- Install bpf-linker:
cargo install bpf-linker
Build eBPF
cargo xtask build-ebpf
To perform a release build you can use the --release flag.
You may also change the target architecture with the --target flag.
Build Userspace
cargo build
Build eBPF and Userspace
cargo xtask build
Run
RUST_LOG=info cargo xtask run