diff options
| author | Augie Fackler <augie@google.com> | 2025-09-26 15:37:44 -0400 |
|---|---|---|
| committer | Augie Fackler <augie@google.com> | 2025-09-26 16:02:59 -0400 |
| commit | eb3fb457f14c419b58fc8b20d72efcea94e06d9f (patch) | |
| tree | e3791782912b51c81c453268e4a7ad494bada578 /src/tools | |
| parent | 77c6acc74ecd44ba7eb5a73c934dffdff7340133 (diff) | |
split-dwarf: add documentation and test coverage
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/run-make-support/src/external_deps/rustc.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/run-make-support/src/external_deps/rustc.rs b/src/tools/run-make-support/src/external_deps/rustc.rs index b74b1d5e166..b461a24a061 100644 --- a/src/tools/run-make-support/src/external_deps/rustc.rs +++ b/src/tools/run-make-support/src/external_deps/rustc.rs @@ -366,6 +366,13 @@ impl Rustc { self } + pub fn split_dwarf_out_dir(&mut self, out_dir: Option<&str>) -> &mut Self { + if let Some(out_dir) = out_dir { + self.cmd.arg(format!("-Zsplit-dwarf-out-dir={out_dir}")); + } + self + } + /// Pass the `--verbose` flag. pub fn verbose(&mut self) -> &mut Self { self.cmd.arg("--verbose"); |
