Skip to content

Commit 16bd8b7

Browse files
author
bors-servo
authored
Auto merge of #579 - emilio:mangling, r=fitzgen
options: Honor distrust-clang-mangling.
2 parents eeebba0 + e0936c4 commit 16bd8b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/options.rs

+4
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,10 @@ pub fn builder_from_flags<I>
349349
builder = builder.use_core();
350350
}
351351

352+
if matches.is_present("distrust-clang-mangling") {
353+
builder = builder.trust_clang_mangling(false);
354+
}
355+
352356
if matches.is_present("conservative-inline-namespaces") {
353357
builder = builder.conservative_inline_namespaces();
354358
}

0 commit comments

Comments
 (0)