diff --git a/.bootc-dev-infra-commit.txt b/.bootc-dev-infra-commit.txt index ed39956..e0954c6 100644 --- a/.bootc-dev-infra-commit.txt +++ b/.bootc-dev-infra-commit.txt @@ -1 +1 @@ -90f71f83e26a74ba93f130c779f70687a2262ae1 +574cc5b9bf84f88a9cef3073adda95e4acfc7318 diff --git a/REVIEW_RUST.md b/REVIEW_RUST.md index f0e0c92..ac7983b 100644 --- a/REVIEW_RUST.md +++ b/REVIEW_RUST.md @@ -46,6 +46,13 @@ Several of our projects use the `cargo xtask` pattern to put arbitrary "glue" code in Rust using the `xshell` crate to keep it easy to run external commands. This is preferred over long shell scripts. +## Code Formatting + +After making changes to any .rs files, `cargo fmt` should be run. +There are CI jobs that lint and expect `cargo fmt` to be a no-op. +Failing to properly format rust code will result in wasted CI +resources. + ## General Prefer rustix over `libc`. All `unsafe` code must be very carefully