Skip to content

Copy MiniRust's variant tag representation - #1154

Merged
Nadrieril merged 4 commits into
AeneasVerif:mainfrom
Nadrieril:discriminant-repr
May 13, 2026
Merged

Copy MiniRust's variant tag representation#1154
Nadrieril merged 4 commits into
AeneasVerif:mainfrom
Nadrieril:discriminant-repr

Conversation

@Nadrieril

@Nadrieril Nadrieril commented May 13, 2026

Copy link
Copy Markdown
Member

This implements the idea discussed in #1046 to reuse MiniRust's discriminant encoding representation.

This PR preserves previous (incorrect) semantics, see #1046. Fixing that is left to a subsequent PR.

cc @N1ark @firefighterduck

@Nadrieril
Nadrieril force-pushed the discriminant-repr branch from fb6b704 to 74514e7 Compare May 13, 2026 12:23

@N1ark N1ark left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nice!! looks great tysm

@Nadrieril
Nadrieril force-pushed the discriminant-repr branch from 74514e7 to 40092c9 Compare May 13, 2026 12:41
@Nadrieril
Nadrieril enabled auto-merge May 13, 2026 12:47
@Nadrieril
Nadrieril added this pull request to the merge queue May 13, 2026
Merged via the queue into AeneasVerif:main with commit 1ff2d57 May 13, 2026
5 checks passed
@Nadrieril
Nadrieril deleted the discriminant-repr branch May 13, 2026 12:49
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