mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
e02e9582d2
This agrees with Clang, and avoids an error when using LTO with mixed C/Rust. LLVM considers different behaviour flags to be a mismatch, even when the flag value itself is the same. This also makes the flag setting explicit for all uses of LLVMRustAddModuleFlag.