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.
aya/AGENTS.md

842 B

AGENTS NOTES

  • Repository: aya (Rust library and tooling for working with eBPF programs).

  • Development tooling:

    • Do not regenerate public API fixtures; the user handles that.
    • Many crates only build on Linux; on macOS lint and type check using
    ./clippy.sh --target x86_64-unknown-linux-musl
    
  • Coding guidelines:

    • Use github or bootlin permalinks when referencing kernel sources.
  • Integration testing:

    • Prepare:

      .github/scripts/download_kernel_images.sh \
        test/.tmp/debian-kernels/<arch> <arch> [VERSIONS]...
      
    • Run:

      find test/.tmp -name '*.deb' -print0 | xargs -0 -t sh -c \
        'cargo xtask integration-test vm --cache-dir test/.tmp "$@" -- <test-filter> [ARGS]...' _