diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-03 23:34:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-03 23:34:23 -0400 |
| commit | b2ca66793962c52b3f07711c0484ec4fca52e217 (patch) | |
| tree | 80c8ec708fdd3052d24d0f9b842b5e903cfe110a /src/tools | |
| parent | f8ab0a74ab4694caa8bfa764fa7ace8bc84c8278 (diff) | |
| parent | 5ea65c8ccb639b26ccfb6804d5b046b37a18530d (diff) | |
| download | rust-b2ca66793962c52b3f07711c0484ec4fca52e217.tar.gz rust-b2ca66793962c52b3f07711c0484ec4fca52e217.zip | |
Rollup merge of #124658 - GuillaumeGomez:migrate-to-run-make, r=jieyouxu
Migrate `run-make/doctests-keep-binaries` to new rmake.rs format r? ```@jieyouxu```
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/run-make-support/src/lib.rs | 6 | ||||
| -rw-r--r-- | src/tools/tidy/src/allowed_run_make_makefiles.txt | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/tools/run-make-support/src/lib.rs b/src/tools/run-make-support/src/lib.rs index 239f90b23c9..d040b05f20e 100644 --- a/src/tools/run-make-support/src/lib.rs +++ b/src/tools/run-make-support/src/lib.rs @@ -261,6 +261,12 @@ macro_rules! impl_common_helpers { } output } + + /// Set the path where the command will be run. + pub fn current_dir<P: AsRef<Path>>(&mut self, path: P) -> &mut Self { + self.cmd.current_dir(path); + self + } } }; } diff --git a/src/tools/tidy/src/allowed_run_make_makefiles.txt b/src/tools/tidy/src/allowed_run_make_makefiles.txt index 4b79b910ec3..a56ea8df6cc 100644 --- a/src/tools/tidy/src/allowed_run_make_makefiles.txt +++ b/src/tools/tidy/src/allowed_run_make_makefiles.txt @@ -44,7 +44,6 @@ run-make/dep-graph/Makefile run-make/dep-info-doesnt-run-much/Makefile run-make/dep-info-spaces/Makefile run-make/dep-info/Makefile -run-make/doctests-keep-binaries/Makefile run-make/doctests-runtool/Makefile run-make/dump-ice-to-disk/Makefile run-make/dump-mono-stats/Makefile |
