Commit Graph

6 Commits (a35a513802788bdf3f75959eff10921e9abc92e0)

Author SHA1 Message Date
tyrone-wu 17e99fd4ae
aya,aya-obj: conversion for u32 to prog type enum & format enum display
Adds conversion from u32 to `bpf_prog_type` so that the `type_` field in
`bpf_prog_info` can map to the program type enum. This also implements
Display for `bpf_prog_type` for condensed output format.
10 months ago
Tamir Duberstein bfafe9e786 public-api: regenerate
See https://github.com/rust-lang/rust/commit/ec201b86.
10 months ago
Tamir Duberstein c302f8370d public-api: regenerate
Nightly now exposes `core::marker::Freeze`.

https://github.com/rust-lang/rust/pull/121840
1 year ago
Tamir Duberstein 057f27dc20 public-api: regenerate
StructuralEq has been removed.

See 0df7810734.
1 year ago
Tamir Duberstein 6e256fad5b public-api: bless with new nightly
See https://github.com/rust-lang/rust/commit/58a80c85b9323e59e1b7e744d6.
1 year ago
Dave Tucker f833f1fc1d xtask: Add cargo-public-api
Adds cargo-public-api. This allows for public API changes to get caught
in CI, requiring new changes to be "blessed" by using:

  cargo xtask public-api --bless

When this file is changed for aya, Alessandro will need to review the PR.

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2 years ago