about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-18 13:14:16 +0200
committerJakub Beránek <berykubik@gmail.com>2025-06-19 06:56:26 +0200
commit718e475cb12094cb182a8271b1855d8f1663dc3a (patch)
tree3913864686f02888c3e035d535ba5e97a8b75980 /src
parent21d21d5f81d6d0ac7e58275e40e982550951ec86 (diff)
downloadrust-718e475cb12094cb182a8271b1855d8f1663dc3a.tar.gz
rust-718e475cb12094cb182a8271b1855d8f1663dc3a.zip
Clarify arrow in snapshot tests
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/src/core/builder/tests.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/builder/tests.rs b/src/bootstrap/src/core/builder/tests.rs
index f45afe0c789..1d1c315c1cf 100644
--- a/src/bootstrap/src/core/builder/tests.rs
+++ b/src/bootstrap/src/core/builder/tests.rs
@@ -1274,6 +1274,10 @@ mod staging {
 /// Renders the executed bootstrap steps for usage in snapshot tests with insta.
 /// Only renders certain important steps.
 /// Each value in `steps` should be a tuple of (Step, step output).
+///
+/// The arrow in the rendered output (`X -> Y`) means `X builds Y`.
+/// This is similar to the output printed by bootstrap to stdout, but here it is
+/// generated purely for the purpose of tests.
 fn render_steps(steps: &[ExecutedStep]) -> String {
     steps
         .iter()