about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2024-07-23 11:34:22 -0400
committerbinarycat <binarycat@envs.net>2024-07-25 12:18:24 -0400
commit20c67131c6b8dd19057da25b61db66f554060f9c (patch)
tree0da0a5021248c9d2a81a1f017c603ec6ac97931a
parentbade1428eebc2f477549c6c025cb9b51f6fe1f9d (diff)
downloadrust-20c67131c6b8dd19057da25b61db66f554060f9c.tar.gz
rust-20c67131c6b8dd19057da25b61db66f554060f9c.zip
note that rmake.rs files are not subject to automatic formatting
-rw-r--r--tests/run-make/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-make/README.md b/tests/run-make/README.md
index a6c1b4b7db7..40359903473 100644
--- a/tests/run-make/README.md
+++ b/tests/run-make/README.md
@@ -41,3 +41,8 @@ The setup for the `rmake.rs` version is a 3-stage process:
 
 [`run_make_support`]: ../../src/tools/run-make-support
 [extern_prelude]: https://doc.rust-lang.org/reference/names/preludes.html#extern-prelude
+
+### Formatting
+
+Note that files under `tests/` are not formatted by `./x fmt`,
+use `rustfmt tests/path/to/file.rs` to format a specific file if desired.