Skip to content

Allow CEnum 1.0 - #92

Merged
mofeing merged 1 commit into
mainfrom
tb/cenum-1
Oct 15, 2026
Merged

mofeing merged 1 commit into
mainfrom
tb/cenum-1

Conversation

@maleadt

@maleadt maleadt commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Widens the CEnum compat to 0.5, 1.

This package was not tested against CEnum 1.0 directly, so CI here is the check. Across the JuliaGPU stack, all @cenum declarations evaluate to the same base type and members under 0.5 and 1.0. The one semantic change, shifts on Cenum values no longer widening to a larger integer type, is not used here. This also drops the stale 0.4-only bound, so it is the first time this package resolves to CEnum 0.5 as well.

The resolver will only pick CEnum 1.0 once every package in an environment allows it, so this can be merged independently of the other packages.

CEnum 1.0 is compatible with how we use it: the generated `@cenum` declarations evaluate identically, and the only semantic change (shifts on Cenum values no longer widen) isn't used here. Older 0.x versions are dropped; 0.5 has been the current release for years.
@mofeing
mofeing merged commit deef5c5 into main Oct 15, 2026
3 of 4 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