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

windows_registry: Allow only specifying the architecture #1285

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

madsmtm
Copy link
Collaborator

@madsmtm madsmtm commented Nov 11, 2024

Fixes #1265 by allowing either an architecture or a full target name to be specified.

Would have avoided the regression from #1225 in #1281.

Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thanks LGTM

@NobodyXu NobodyXu merged commit 58bd974 into rust-lang:main Nov 11, 2024
27 checks passed
@github-actions github-actions bot mentioned this pull request Nov 11, 2024
@madsmtm madsmtm deleted the windows-arch branch November 11, 2024 15:11
workingjubilee added a commit to workingjubilee/rustc that referenced this pull request Dec 7, 2024
…enton

Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 8, 2024
Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-mingw
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 8, 2024
Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-mingw
GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request Dec 9, 2024
…enton

Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-mingw
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Dec 9, 2024
…enton

Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-mingw
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 9, 2024
Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-msvc
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 21, 2024
Pass the arch rather than full target name to windows_registry::find_tool

The full target name can be anything with custom target specs. Passing just the arch wasn't possible before cc 1.2, but is now thanks to rust-lang/cc-rs#1285.

try-job: i686-msvc
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.

windows_registry: add api which accepts just the target arch
2 participants