Skip to content

chore: allow clippy::large_const_arrays workspace-wide#132

Merged
kernalix7 merged 1 commit into
mainfrom
chore/workspace-lints-large-const
Jun 23, 2026
Merged

chore: allow clippy::large_const_arrays workspace-wide#132
kernalix7 merged 1 commit into
mainfrom
chore/workspace-lints-large-const

Conversation

@kernalix7

Copy link
Copy Markdown
Owner

A newer nightly clippy flags the project-wide const X: Option<BigStruct> = None; [X; N] fixed-table init idiom (166 sites, all crates) as large_const_arrays. The const is intentional; add [workspace.lints.clippy] large_const_arrays = "allow" + [lints] workspace = true per crate so CI and local cargo clippy --workspace -- -D warnings both pass. Unblocks all PRs.

A newer nightly clippy flags the project-wide 'const X: Option<BigStruct>
= None; [X; N]' fixed-table init idiom (166 sites across all crates) as
large_const_arrays. The const is intentional; add a [workspace.lints]
allow and opt every crate in via [lints] workspace = true so CI and local
'cargo clippy --workspace -- -D warnings' both pass.
@kernalix7 kernalix7 merged commit f30824a into main Jun 23, 2026
2 checks passed
@kernalix7 kernalix7 deleted the chore/workspace-lints-large-const branch June 23, 2026 02:30
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.

1 participant