compiler: Updates for LLVM/Clang 20 API changes.
This commit is contained in:
@@ -1053,7 +1053,11 @@ pub const Object = struct {
|
||||
.is_small = options.is_small,
|
||||
.time_report = options.time_report,
|
||||
.tsan = options.sanitize_thread,
|
||||
.lto = options.lto != .none,
|
||||
.lto = switch (options.lto) {
|
||||
.none => .None,
|
||||
.thin => .ThinPreLink,
|
||||
.full => .FullPreLink,
|
||||
},
|
||||
// https://github.com/ziglang/zig/issues/21215
|
||||
.allow_fast_isel = !comp.root_mod.resolved_target.result.cpu.arch.isMIPS(),
|
||||
.asm_filename = null,
|
||||
|
||||
Reference in New Issue
Block a user