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

Prioritize RUSTC_LINKER over target->cross-compile-prefix table. #767

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

dot-asm
Copy link
Contributor

@dot-asm dot-asm commented Dec 22, 2022

Rationale is that if rustc is explicitly instructed to use a specific linker, using it as base for cross-compile prefix would be better aligned with user expectations.

This is in response to #766. Should fix #654.

Rationale is that if rustc is explicitly instructed to use a specific
linker, using it as base for cross-compile prefix would be better
aligned with user expectations.
@dot-asm
Copy link
Contributor Author

dot-asm commented Jan 31, 2023

Re-based and aligned with recent MSRV adjustment.

Copy link
Member

@thomcc thomcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, sorry, I think I missed this PR when it was submitted. It seems hard to argue with this, thanks.

@thomcc
Copy link
Member

thomcc commented Jan 31, 2023

I'm going to let it sit shortly since I'd like to test it a little, but will merge it later this week.

@thomcc
Copy link
Member

thomcc commented Jan 31, 2023

Eh, I'll just test it on master when I get to it.

@thomcc thomcc merged commit 9e50fb8 into rust-lang:main Jan 31, 2023
@dot-asm
Copy link
Contributor Author

dot-asm commented Feb 1, 2023

You should be able to close #766 and even #637 (since earlier actually).

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.

None yet

2 participants