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

Handle arm64 Scalable Vector Extension (SVE) types on clang 10 #441

Merged
merged 6 commits into from
Jun 22, 2022

Conversation

kkysen
Copy link
Contributor

@kkysen kkysen commented Jun 10, 2022

Fixes #433.

This correctly handles arm64 Scalable Vector Extension (SVE) types on clang 10. SVE types were added in clang 10, but the API we had used to handle them was only added in clang 11, so they were being skipped in clang 10 and causing errors when transpiling any C file on aarch64-unknown-linux-gnu due to the SVE types not being recognized. In clang <10, SVE types are not yet present, so this is not an issue there. Now the aarch64-unknown-linux-gnu should work in CI, which uses clang 10.

@kkysen kkysen merged commit d875cd7 into master Jun 22, 2022
@kkysen kkysen deleted the fw/clang-10-aarch64-sve branch July 9, 2022 04:09
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.

c2rust transpile always crashes on aarch64-unknown-linux-gnu using clang 10
3 participants