Skip to content

Commit 619dd86

Browse files
authored
Rollup merge of #125896 - jieyouxu:compiletest-rmake-comment, r=compiler-errors
compiletest: fix outdated rmake.rs comment Noticed in #125827 (comment). I fixed the PR description but forgot to update the comment.
2 parents cc938c5 + 590c373 commit 619dd86

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/tools/compiletest/src/runtest.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -3444,13 +3444,13 @@ impl<'test> TestCx<'test> {
34443444
// ```
34453445
// base_dir/
34463446
// rmake.exe
3447-
// scratch/
3447+
// rmake_out/
34483448
// ```
3449-
// having the executable separate from the scratch directory allows the recipes to
3450-
// `remove_dir_all(scratch)` without running into permission denied issues because
3451-
// the executable is not under the `scratch/` directory.
3449+
// having the executable separate from the output artifacts directory allows the recipes to
3450+
// `remove_dir_all($TMPDIR)` without running into permission denied issues because
3451+
// the executable is not under the `rmake_out/` directory.
34523452
//
3453-
// This setup diverges from legacy Makefile run-make tests.
3453+
// This setup intentionally diverges from legacy Makefile run-make tests.
34543454
let base_dir = cwd.join(self.output_base_name());
34553455
if base_dir.exists() {
34563456
self.aggressive_rm_rf(&base_dir).unwrap();

0 commit comments

Comments
 (0)