mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 09:32:15 +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.