docs: record Rust test manifest convention

This commit is contained in:
2026-09-17 00:44:39 -04:00
parent ddc7952399
commit d522d5b9b6

View File

@@ -96,8 +96,8 @@
- `rules_rust` `rust_test` targets cannot set both `crate` and `srcs`.
Use one input style per test target.
- Rust tests in this monorepo live in separate `*_test.rs` files, not inline `#[cfg(test)]` modules.
- Ariadne Rust tests are declared in Bazel `BUILD` files; do not add `[[test]]` entries to
`src/ariadne/Cargo.toml` unless explicitly requested.
- Rust tests in this monorepo are declared in Bazel `BUILD` files, not Cargo manifests,
unless explicitly requested.
- In this monorepo, "dotfiles" refers to the dotfiles/NixOS configuration under `src/dotfiles/` and `configs/nixos/`.
- The flake does not currently define `formatter.x86_64-linux`.
Do not use `nix fmt` as a validation command until a formatter is added.