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/xtask/public-api
Tamir Duberstein 504fd1df0a
programs: `ProgramFd` is owned
`ProgramData::fd` is now a `ProgramFd`. This means that `ProgramData`
now closes the file descriptor on drop. In the future we might consider
making `ProgramFd` hold a `BorrowedFd` but this requires API design work
due to overlapping borrows.

Since `ProgramFd` is no longer `Copy`, update methods to take it by
reference to allow callers to use it multiple times as they are
accustomed to doing.

`ProgramFd` is now returned by reference and implements `try_clone` to
allow callers to avoid file descriptor cloning when desired.

This is an API breaking change.

Updates #612.
1 year ago
..
aya-bpf-bindings.txt xtask: Add cargo-public-api 1 year ago
aya-bpf-cty.txt xtask: Add cargo-public-api 1 year ago
aya-bpf-macros.txt xtask: Add cargo-public-api 1 year ago
aya-bpf.txt xtask: Add cargo-public-api 1 year ago
aya-log-common.txt aya-log: s/Result<usize, ()>/Option<NonZeroUsize>/ 1 year ago
aya-log-ebpf-macros.txt xtask: Add cargo-public-api 1 year ago
aya-log-ebpf.txt xtask: Add cargo-public-api 1 year ago
aya-log-parser.txt xtask: Add cargo-public-api 1 year ago
aya-log.txt xtask: Add cargo-public-api 1 year ago
aya-obj.txt aya, aya-obj: Implement ENUM64 fixups 1 year ago
aya-tool.txt xtask: Add cargo-public-api 1 year ago
aya.txt programs: `ProgramFd` is owned 1 year ago