cargo / rustix / audit
cargo : rustix @ 1.1.4
PE Patrick Elsen signed 2026-05-28 published 2026-05-28

CONTRIBUTING.md

28 lines · markdown

# Contributing to rustixRustix is a [Bytecode Alliance] project. It follows the Bytecode Alliance's[Code of Conduct] and [Organizational Code of Conduct].## TestingTo keep compile times low, most features in rustix's API are behind cargofeatures. A special feature, `all-apis` enables all APIs, which is usefulfor testing.```consolecargo test --features=all-apis```And, rustix has two backends, linux_raw and libc, and only one is used inany given build. To test on Linux with the libc backend explicitly,additionally enable the `use-libc` feature:```consolecargo test --features=all-apis,use-libc```Beyond that, rustix's CI tests many targets and configurations. Asking forhelp is always welcome, and it's especially encouraged when the issue isgetting all the `cfg`s lined up to get everything compiling on all theconfigurations on CI.