mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-08 05:06:52 +00:00

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.