Skip to content

[postcard-derive] Ignore zeroes in enum size calculation to avoid large if blocks#291

Merged
max-heller merged 3 commits intojamesmunns:mainfrom
thealtofwar:patch-1
Feb 3, 2026
Merged

[postcard-derive] Ignore zeroes in enum size calculation to avoid large if blocks#291
max-heller merged 3 commits intojamesmunns:mainfrom
thealtofwar:patch-1

Conversation

@thealtofwar
Copy link
Contributor

Resolves HaoboGu/rmk#691.

This skips the zeroes in the size type calculation in order to compress the resulting tree generated.

@netlify
Copy link

netlify bot commented Feb 3, 2026

Deploy Preview for cute-starship-2d9c9b canceled.

Name Link
🔨 Latest commit 9bac561
🔍 Latest deploy log https://app.netlify.com/projects/cute-starship-2d9c9b/deploys/69817232c46e4a0008d08559

Copy link
Collaborator

@max-heller max-heller 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!

@max-heller max-heller merged commit de18255 into jamesmunns:main Feb 3, 2026
5 checks passed
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.

rustc stack overflow when compiling rmk-types with Rust 1.92.0

2 participants