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. |
||
|---|---|---|
| .. | ||
| llvm-wrapper | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||