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

Fix build of wast with randomized layouts #1751

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

alexcrichton
Copy link
Member

@alexcrichton alexcrichton commented Aug 31, 2024

Closes #1750

crates/wast/src/lexer.rs Outdated Show resolved Hide resolved
Copy link

@the8472 the8472 left a comment

Choose a reason for hiding this comment

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

CI test is good, then it won't break downstream users.

Move the static assertion about size to a runtime test to enable
building with randomized layouts for testing.
@alexcrichton alexcrichton added this pull request to the merge queue Sep 3, 2024
Merged via the queue into bytecodealliance:main with commit 8c3346e Sep 3, 2024
29 checks passed
@alexcrichton alexcrichton deleted the fix-build branch September 3, 2024 17:42
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.

wast lexer size assert not compatible with randomized struct layouts
3 participants