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
Rustc::prefer_dynamic
1 parent d00a59c commit 51e6271Copy full SHA for 51e6271
src/tools/run-make-support/src/rustc.rs
@@ -190,6 +190,16 @@ 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
+ pub fn prefer_dynamic(&mut self) -> &mut Self {
199
+ self.cmd.arg("-Cprefer-dynamic");
200
201
202
203
/// Specify a stdin input
204
pub fn stdin<I: AsRef<[u8]>>(&mut self, input: I) -> &mut Self {
205
self.stdin = Some(input.as_ref().to_vec().into_boxed_slice());
0 commit comments