11 Commits (main)

Author SHA1 Message Date
wanjunlei 7c143de8af
add a build command (#108)
Add a new command to build ebpf and userspace programs without running.

```
cargo xtask build
```

Co-authored-by: Michal Rostecki <vadorovsky@protonmail.com>
4 months ago
Tamir Duberstein 0c06a47bc2 Remove redundant instructions
We just need to install bpf-linker; the rest of this is already encoded
in rust-toolchain.toml.

Fixes #83.
1 year ago
Dmitry Savintsev 732b7ea930 sync run nightly install directions with Book
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com>
2 years ago
Dmitry Savintsev 715967772f upgrade deps: tokio and anyhow 2 years ago
Michal Rostecki cba4774787 readme: Mention `RUST_LOG` env variable
The default log level of env_logger is `error`. We are using `info!` in
the template, so let's suggest running the example with `RUST_LOG=info`.

Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
2 years ago
William Findlay a80359acca
userspace: use include_bytes_aligned! instead of --path flag 3 years ago
William Findlay 329731038b
readme: document new cargo xtask run helper 3 years ago
Alessandro Decina bf54208f6a README: fix run command 3 years ago
Michal Rostecki f3a8f5d003 readme: Fix the cargo run --bin flag
The flag for `cargo run` is `--bin`, not `-bin`.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
3 years ago
Dave Tucker 5d018fd6ba Add xtask for building ebpf programs
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago
Dave Tucker 9e1c761d8d Initial Commit
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago