6 Commits (bc7cd9ad46543a0f946e6ef5b25f1b28bdbc7e06)

Author SHA1 Message Date
William Findlay dc7eb0410f
xtask/run: fix clippy lint 3 years ago
William Findlay a80359acca
userspace: use include_bytes_aligned! instead of --path flag 3 years ago
William Findlay ee77866a16
xtask/build_ebpf: document flags 3 years ago
William Findlay ee4336a643
xtask/build_ebpf: fix panic message 3 years ago
William Findlay d590d3a1ea
xtask: implement xtask run subcommand
This new subcommand provides a convenient way to run your aya application.

Features include:
    - automatic compilation of userspace + bpf code
    - support for user-defined runners, defaulting to `sudo -E` for convenience
    - no need to run `sudo cargo run` (gross) or `sudo target/debug/myapp` (also gross),
      it just works
    - an optional `-p` flag which automatically supplies the correct --path flag to the
      application
    - support for trailing args after a final -- which are passed to the application,
      cargo run-style
3 years ago
Dave Tucker 5d018fd6ba Add xtask for building ebpf programs
Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
3 years ago