Merge pull request #23501 from imreallybadatnames/master
Step.Compile: use LtoMode enum for lto option
This commit is contained in:
committed by
GitHub
parent
227788e6d5
commit
7733b5dbe6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user