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