Skip to content

Conversation

phil-opp
Copy link
Member

@phil-opp phil-opp commented Feb 2, 2024

Fixes the test errors on CI.

Copy link
Member

@Freax13 Freax13 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

Out of curiosity, do you happen to know why the "p270:32:32..." specs are necessary? If my understanding of https://llvm.org/docs/LangRef.html#data-layout is correct, they specify 32-bit address spaces, and it's not immediately obvious to me what that's useful for.

@phil-opp
Copy link
Member Author

phil-opp commented Feb 2, 2024

I don't know why/if this part is necessary, but the Rust compiler enforces since rust-lang/rust#120062 that the data-layout matches the layout of the LLVM target exactly.

@phil-opp phil-opp merged commit 3eb9c22 into master Feb 2, 2024
@phil-opp phil-opp deleted the fix-data-layout branch February 2, 2024 11:36
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.

2 participants