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::extra_filename
1 parent d00a59c commit 5a00105Copy full SHA for 5a00105
src/tools/run-make-support/src/rustc.rs
@@ -190,6 +190,11 @@ impl Rustc {
190
self
191
}
192
193
+ pub fn extra_filename(&mut self, extra: &str) -> &mut Self {
194
+ self.cmd.arg(format!("-Cextra-filename={extra}"));
195
+ self
196
+ }
197
+
198
/// Specify a stdin input
199
pub fn stdin<I: AsRef<[u8]>>(&mut self, input: I) -> &mut Self {
200
self.stdin = Some(input.as_ref().to_vec().into_boxed_slice());
0 commit comments