Skip to content
align-not-power-of-two · Lint · warning

`@layout(align = ...)` must be a power of two

Hardware alignment rules require power-of-two values (1, 2, 4, 8, ...).

A full explainer for this code hasn't been written yet. The summary above is the current authoritative description.

Want to contribute? Add docs/errors/<code>.md in the repo and the page will pick it up automatically.

enespt-br