Skip to content

cpubits: change cfg(enable_64_bit = ...) syntax#1426

Merged
tarcieri merged 1 commit intomasterfrom
cpubits/change-enable-64-bit-syntax
Jan 21, 2026
Merged

cpubits: change cfg(enable_64_bit = ...) syntax#1426
tarcieri merged 1 commit intomasterfrom
cpubits/change-enable-64-bit-syntax

Conversation

@tarcieri
Copy link
Copy Markdown
Member

The new syntax is used in the title, and feels a little more idiomatic than the old syntax, which was cfg(enable_64bit(...)).

It's also changed not to be implicitly any(...) to feel a little more WYSIWYG, i.e. it now uses an explicit any rather than having an extra comment which takes up a whole line to say it's implicitly any.

The new syntax is used in the title, and feels a little more idiomatic
than the old syntax, which was `cfg(enable_64bit(...))`.

It's also changed not to be implicitly `any(...)` to feel a little more
WYSIWYG, i.e. it now uses an explicit `any` rather than having an extra
comment which takes up a whole line to say it's implicitly `any`.
@tarcieri tarcieri force-pushed the cpubits/change-enable-64-bit-syntax branch from 4a5c747 to 9a6586a Compare January 21, 2026 19:41
@tarcieri tarcieri merged commit f422d50 into master Jan 21, 2026
11 checks passed
@tarcieri tarcieri deleted the cpubits/change-enable-64-bit-syntax branch January 21, 2026 19:44
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