Skip to content

Commit 9aa01ca

Browse files
Correctly handle "master" feature
1 parent 17aa31b commit 9aa01ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_system/src/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ pub fn build_sysroot(env: &HashMap<String, String>, config: &ConfigInfo) -> Resu
107107
rustflags.push_str(" -Cpanic=abort -Zpanic-abort-tests");
108108
}
109109
rustflags.push_str(" -Z force-unstable-if-unmarked");
110+
if config.no_default_features {
111+
rustflags.push_str(" -Csymbol-mangling-version=v0");
112+
}
110113
let mut env = env.clone();
111114

112115
let mut args: Vec<&dyn AsRef<OsStr>> = vec![&"cargo", &"build", &"--target", &config.target];

0 commit comments

Comments
 (0)