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

rust: fix clangarm64 build #14777

Merged
merged 4 commits into from
Dec 27, 2022
Merged

Conversation

jeremyd2019
Copy link
Member

The bash array _rust_conf was being used as a 'scalar' (for lack of a
better term), resulting in only the first item being interpolated,
losing the --enable-vendor option necessary for a -gnullvm target to
build due to necessary patches to the vendored sources. Currently, only
clangarm64 uses a gnullvm target, so it was the only one affected.

Addresses #14592 (comment)

The bash array _rust_conf was being used as a 'scalar' (for lack of a
better term), resulting in only the first item being interpolated,
losing the `--enable-vendor` option necessary for a -gnullvm target to
build due to necessary patches to the vendored sources.  Currently, only
clangarm64 uses a gnullvm target, so it was the only one affected.

Addresses msys2#14592 (comment)
@jeremyd2019 jeremyd2019 requested a review from mati865 December 27, 2022 01:37
@lazka lazka merged commit 309e4e3 into msys2:master Dec 27, 2022
@lazka
Copy link
Member

lazka commented Dec 27, 2022

(I missed the review request, oops)

@jeremyd2019
Copy link
Member Author

Just did that to make sure he saw it, not important.

@jeremyd2019 jeremyd2019 deleted the rust-aarch64-build-fix branch December 27, 2022 19:06
@mati865
Copy link
Collaborator

mati865 commented Dec 27, 2022

Sorry, I've only got home this morning 😓
Looks good, great catch!

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.

3 participants