We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfcf18c commit 1a56affCopy full SHA for 1a56aff
src/Compilation/Config.zig
@@ -294,6 +294,12 @@ pub fn resolve(options: Options) ResolveError!Config {
294
if (options.lto) |x| break :b x;
295
if (!options.any_c_source_files) break :b false;
296
297
+ // https://github.com/llvm/llvm-project/pull/116537
298
+ if (target.cpu.arch.isMIPS64()) switch (target.abi) {
299
+ .gnuabin32, .muslabin32 => break :b false,
300
+ else => {},
301
+ }
302
+
303
if (target.cpu.arch.isRISCV()) {
304
// Clang and LLVM currently don't support RISC-V target-abi for LTO.
305
// Compiling with LTO may fail or produce undesired results.
0 commit comments