Skip to content

Conversation

@srosefield-riverside
Copy link
Contributor

Cranelift now supports explicit alignment for stack slots so we can allocate the requested type alignment when it can be guaranteed by the target.

@srosefield-riverside srosefield-riverside force-pushed the feature/reduced_stack_alignment_requirements branch from 6094403 to 95fbd7e Compare November 12, 2025 17:00
Copy link
Member

@bjorn3 bjorn3 left a comment

Choose a reason for hiding this comment

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

The actual code changes LGTM. Please adjust the assertion to a debug assertion and adjust the comment as requested by @swasey.

@bjorn3 bjorn3 merged commit 726b736 into rust-lang:main Nov 17, 2025
24 checks passed
@bjorn3
Copy link
Member

bjorn3 commented Nov 17, 2025

Thanks!

@srosefield-riverside srosefield-riverside deleted the feature/reduced_stack_alignment_requirements branch November 17, 2025 19:56
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