Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.Target: Make Cpu.baseline() take OS into consideration and pick a better CPU for Apple targets #21714

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Oct 15, 2024

See: ziglang/zig-bootstrap#194

The idea is that this shouldn't be necessary because std.Target.Cpu.baseline() should just be smart enough to know that apple_a14 (= apple_m1) is the baseline for that target.

@alexrp alexrp requested a review from andrewrk October 15, 2024 22:36
@andrewrk
Copy link
Member

Good idea 👍

@alexrp alexrp enabled auto-merge October 15, 2024 23:20
@alexrp alexrp merged commit ecd5878 into ziglang:master Oct 16, 2024
10 checks passed
@alexrp alexrp deleted the target-cpu-baseline branch October 16, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants