mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
compiletest: fix outdated rmake.rs comment
This commit is contained in:
parent
8bec878b73
commit
590c373e43
@ -3435,13 +3435,13 @@ impl<'test> TestCx<'test> {
|
|||||||
// ```
|
// ```
|
||||||
// base_dir/
|
// base_dir/
|
||||||
// rmake.exe
|
// rmake.exe
|
||||||
// scratch/
|
// rmake_out/
|
||||||
// ```
|
// ```
|
||||||
// having the executable separate from the scratch directory allows the recipes to
|
// having the executable separate from the output artifacts directory allows the recipes to
|
||||||
// `remove_dir_all(scratch)` without running into permission denied issues because
|
// `remove_dir_all($TMPDIR)` without running into permission denied issues because
|
||||||
// the executable is not under the `scratch/` directory.
|
// the executable is not under the `rmake_out/` directory.
|
||||||
//
|
//
|
||||||
// This setup diverges from legacy Makefile run-make tests.
|
// This setup intentionally diverges from legacy Makefile run-make tests.
|
||||||
let base_dir = cwd.join(self.output_base_name());
|
let base_dir = cwd.join(self.output_base_name());
|
||||||
if base_dir.exists() {
|
if base_dir.exists() {
|
||||||
self.aggressive_rm_rf(&base_dir).unwrap();
|
self.aggressive_rm_rf(&base_dir).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user