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.
-Csymbol-mangling-version
-Cprefer-dynamic
1 parent ecda83b commit 40699c2Copy full SHA for 40699c2
src/tools/run-make-support/src/external_deps/rustc.rs
@@ -215,6 +215,18 @@ impl Rustc {
215
self
216
}
217
218
+ /// Specify option of `-C symbol-mangling-version`.
219
+ pub fn symbol_mangling_version(&mut self, option: &str) -> &mut Self {
220
+ self.cmd.arg(format!("-Csymbol-mangling-version={option}"));
221
+ self
222
+ }
223
+
224
+ /// Specify `-C prefer-dynamic`.
225
+ pub fn prefer_dynamic(&mut self) -> &mut Self {
226
+ self.cmd.arg(format!("-Cprefer-dynamic"));
227
228
229
230
/// Specify error format to use
231
pub fn error_format(&mut self, format: &str) -> &mut Self {
232
self.cmd.arg(format!("--error-format={format}"));
0 commit comments