Merge pull request #23501 from imreallybadatnames/master

Step.Compile: use LtoMode enum for lto option
This commit is contained in:
imreallybadatnames™️
2025-04-09 16:16:36 +11:00
committed by GitHub
parent 227788e6d5
commit 7733b5dbe6
7 changed files with 24 additions and 12 deletions

View File

@@ -771,7 +771,7 @@ pub const Object = struct {
time_report: bool,
sanitize_thread: bool,
fuzz: bool,
lto: Compilation.Config.LtoMode,
lto: std.zig.LtoMode,
};
pub fn emit(o: *Object, options: EmitOptions) error{ LinkFailure, OutOfMemory }!void {