We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Csymbol-mangling-version
-Cprefer-dynamic
1 parent 6c1d960 commit 09f6848Copy full SHA for 09f6848
src/tools/run-make-support/src/external_deps/rustc.rs
@@ -216,6 +216,18 @@ impl Rustc {
216
self
217
}
218
219
+ /// Specify option of `-C symbol-mangling-version`.
220
+ pub fn symbol_mangling_version(&mut self, option: &str) -> &mut Self {
221
+ self.cmd.arg(format!("-Csymbol-mangling-version={option}"));
222
+ self
223
+ }
224
+
225
+ /// Specify `-C prefer-dynamic`.
226
+ pub fn prefer_dynamic(&mut self) -> &mut Self {
227
+ self.cmd.arg(format!("-Cprefer-dynamic"));
228
229
230
231
/// Specify error format to use
232
pub fn error_format(&mut self, format: &str) -> &mut Self {
233
self.cmd.arg(format!("--error-format={format}"));
0 commit comments