about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/miri/tests/compiletest.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/miri/tests/compiletest.rs b/src/tools/miri/tests/compiletest.rs
index 07f5d8e78a1..fe70ab3f45a 100644
--- a/src/tools/miri/tests/compiletest.rs
+++ b/src/tools/miri/tests/compiletest.rs
@@ -142,7 +142,9 @@ fn run_tests(mode: Mode, path: &str, target: &str, with_dependencies: bool) -> R
     }
     ui_test::run_tests_generic(
         config,
+        // The files we're actually interested in (all `.rs` files).
         |path| path.extension().is_some_and(|ext| ext == "rs"),
+        // This could be used to overwrite the `Config` on a per-test basis.
         |_, _| None,
         TextAndGha,
     )