diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-03-13 10:24:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 10:24:16 -0700 |
commit | 16bd8b71fc8d2d2be793553dfc164776db058f64 (patch) | |
tree | b814d1f02f4771486b843c6c5ce7da294e4d5011 | |
parent | eeebba038e4c5b8aa9f3c02cc304a99227fcbaa3 (diff) | |
parent | e0936c44dfd1f14a9ab9eb3ef94345773be31443 (diff) |
Auto merge of #579 - emilio:mangling, r=fitzgen
options: Honor distrust-clang-mangling.
-rw-r--r-- | src/options.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 78a0e30b..15146b39 100644 --- a/src/options.rs +++ b/src/options.rs @@ -349,6 +349,10 @@ pub fn builder_from_flags<I> builder = builder.use_core(); } + if matches.is_present("distrust-clang-mangling") { + builder = builder.trust_clang_mangling(false); + } + if matches.is_present("conservative-inline-namespaces") { builder = builder.conservative_inline_namespaces(); } |