Skip to content

Commit e0936c4

Browse files
committed
options: Honor distrust-clang-mangling.
1 parent 1320efe commit e0936c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/options.rs

Lines changed: 4 additions & 0 deletions
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)