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

@@ -1681,7 +1681,7 @@ pub fn addCAbiTests(b: *std.Build, options: CAbiTestOptions) *Step {
// This test is intentionally trying to check if the external ABI is
// done properly. LTO would be a hindrance to this.
test_step.want_lto = false;
test_step.lto = .none;
const run = b.addRunArtifact(test_step);
run.skip_foreign_checks = true;