We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustc
1 parent 63c4f6b commit d43c64cCopy full SHA for d43c64c
src/tools/run-make-support/src/external_deps/rustc.rs
@@ -326,6 +326,18 @@ impl Rustc {
326
self
327
}
328
329
+ /// Specify `-C debuginfo=...`.
330
+ pub fn debuginfo(&mut self, level: &str) -> &mut Self {
331
+ self.cmd.arg(format!("-Cdebuginfo={level}"));
332
+ self
333
+ }
334
+
335
+ /// Specify `-C split-debuginfo={packed,unpacked,off}`.
336
+ pub fn split_debuginfo(&mut self, split_kind: &str) -> &mut Self {
337
+ self.cmd.arg(format!("-Csplit-debuginfo={split_kind}"));
338
339
340
341
/// Pass the `--verbose` flag.
342
pub fn verbose(&mut self) -> &mut Self {
343
self.cmd.arg("--verbose");
0 commit comments