Skip to content

Fix FilterEffect size assertion on 32-bit x86 - #120

Merged
nicoburns merged 1 commit into
DioxusLabs:mainfrom
slint-ui:simon/compile-fix
Oct 20, 2026
Merged

nicoburns merged 1 commit into
DioxusLabs:mainfrom
slint-ui:simon/compile-fix

Conversation

@tronical

Copy link
Copy Markdown
Contributor

On i686, 64-bit fields only have 4-byte alignment, so FilterEffect is 84 bytes rather than the 88 bytes seen on other 32-bit targets such as armv7 and wasm32. Assert the size per architecture.

On i686, 64-bit fields only have 4-byte alignment, so FilterEffect is
84 bytes rather than the 88 bytes seen on other 32-bit targets such as
armv7 and wasm32. Assert the size per architecture.

@nicoburns nicoburns left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We might want to just have fewer assertions, but I guess this is an improvement.

@nicoburns
nicoburns merged commit ee6109c into DioxusLabs:main Oct 20, 2026
9 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.

2 participants