-
Notifications
You must be signed in to change notification settings - Fork 450
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
Use rustc
's knowledge of LLVM/Clang target triples
#1252
Merged
Merged
+764
−479
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
madsmtm
force-pushed
the
llvm-target
branch
3 times, most recently
from
November 1, 2024 06:30
880da47
to
d351ff6
Compare
Use the same LLVM target triple as rustc does
NobodyXu
requested changes
Nov 1, 2024
NobodyXu
requested changes
Nov 1, 2024
NobodyXu
requested changes
Nov 1, 2024
This was referenced Nov 1, 2024
clang: error: version 'softfloat' in target triple 'aarch64-unknown-none-softfloat' is invalid
#1255
Closed
Merged
This was referenced Nov 1, 2024
NobodyXu
approved these changes
Nov 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
THanks, lGTM!
glandium
reviewed
Nov 2, 2024
nicholasbishop
added a commit
to nicholasbishop/cc-rs
that referenced
this pull request
Nov 3, 2024
This restores the behavior prior to rust-lang#1252, when the UEFI targets were hardcoded in src/lib.rs.
nicholasbishop
added a commit
to nicholasbishop/cc-rs
that referenced
this pull request
Nov 3, 2024
This restores the behavior prior to rust-lang#1252, when the UEFI targets were hardcoded in src/lib.rs.
NobodyXu
pushed a commit
that referenced
this pull request
Nov 4, 2024
This restores the behavior prior to #1252, when the UEFI targets were hardcoded in src/lib.rs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Part of #1249.
I tried to keep it separate from cleaning up the Apple stuff, but things were quite intertwined, so I ended up having to do some of it. Still, this PR aims to have as few functional changes as possible (the only effect should be that we now use the correct Clang target).
Fixes #542 (was fixed before, but now we do it properly by passing
arm64-apple-macosx
instead ofarm64-apple-darwin
).Fixes #1255.
Fixes #1205.
Might improve the situation in #1005.
This affects (checking local test script...) 128 targets, though I feel pretty confident that the change is correct, and if it's not, then it's likely an issue in
rustc
as well.