Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 590c373

Browse files
committedJun 2, 2024
compiletest: fix outdated rmake.rs comment
1 parent 8bec878 commit 590c373

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
@@ -3435,13 +3435,13 @@ impl<'test> TestCx<'test> {
34353435
// ```
34363436
// base_dir/
34373437
// rmake.exe
3438-
// scratch/
3438+
// rmake_out/
34393439
// ```
3440-
// having the executable separate from the scratch directory allows the recipes to
3441-
// `remove_dir_all(scratch)` without running into permission denied issues because
3442-
// the executable is not under the `scratch/` directory.
3440+
// having the executable separate from the output artifacts directory allows the recipes to
3441+
// `remove_dir_all($TMPDIR)` without running into permission denied issues because
3442+
// the executable is not under the `rmake_out/` directory.
34433443
//
3444-
// This setup diverges from legacy Makefile run-make tests.
3444+
// This setup intentionally diverges from legacy Makefile run-make tests.
34453445
let base_dir = cwd.join(self.output_base_name());
34463446
if base_dir.exists() {
34473447
self.aggressive_rm_rf(&base_dir).unwrap();

0 commit comments

Comments
 (0)
Failed to load comments.