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

[SR-14474] Swift on Linux/Windows/... (Intel): should clarify which micro-architecture it targets #56830

Open
weissi opened this issue Apr 12, 2021 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@weissi
Copy link
Member

weissi commented Apr 12, 2021

Previous ID SR-14474
Radar rdar://problem/76532217
Original Reporter @weissi
Type Bug
Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: a8df41b7245931d87bcdb7297911b9b8

Issue Description:

I guess on Darwin, the micro-architecture that Swift targets is determined by the deployment target. On Linux/Windows/... this is isn't possible however.

I think Swift should clearly specify two things:

  • which Intel micro-architecture does the compiler expect as a minimum

  • which Intel micro-architecture does a program compiled with the Swift compiler expect as a minimum (by default)

Also, Swift should output that in swift -version or similar.

This would've helped with bugs such as SR-14186 .

@weissi
Copy link
Member Author

weissi commented Apr 12, 2021

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant