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

Not all evaluated MIR constants are byte strings #1318

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

Nadrieril
Copy link
Collaborator

@Nadrieril Nadrieril commented Feb 20, 2025

We incorrectly fell back to ByteStr for evaluated constants but that's unfortunately wildly incorrect: with promoted_mir, most constants end up of that form. This just adds a new variant to catch this case.

Charon breakage is expected and fine since we're adding a variant.

@Nadrieril Nadrieril requested a review from a team as a code owner February 20, 2025 10:19
Copy link
Collaborator

@W95Psp W95Psp 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, thanks!

@Nadrieril Nadrieril enabled auto-merge February 20, 2025 10:39
@Nadrieril Nadrieril added this pull request to the merge queue Feb 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 20, 2025
@W95Psp W95Psp added this pull request to the merge queue Feb 20, 2025
Merged via the queue into cryspen:main with commit 26674cd Feb 20, 2025
14 of 15 checks passed
@Nadrieril Nadrieril deleted the memory-constants branch February 20, 2025 14:41
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