Skip to content

ctutils: remove target_pointer_width gating#1389

Merged
tarcieri merged 1 commit intomasterfrom
ctutils/remove-pointer-width-gating
Jan 18, 2026
Merged

ctutils: remove target_pointer_width gating#1389
tarcieri merged 1 commit intomasterfrom
ctutils/remove-pointer-width-gating

Conversation

@tarcieri
Copy link
Member

From #1387, via rustc itself:

expected values for `target_pointer_width` are: `16`, `32`, and `64`

So these impls should actually be ubiquitously available, for now.

If we remove the gating in this crate, then all we need to do to handle new pointer widths is ship a fix for cmov.

From #1387, via rustc itself:

    expected values for `target_pointer_width` are: `16`, `32`, and `64`

So these impls should actually be ubiquitously available, for now.

If we remove the gating in this crate, then all we need to do to handle
new pointer widths is ship a fix for `cmov`.
@tarcieri tarcieri merged commit b2e7cef into master Jan 18, 2026
12 checks passed
@tarcieri tarcieri deleted the ctutils/remove-pointer-width-gating branch January 18, 2026 04:16
@tarcieri tarcieri mentioned this pull request Jan 20, 2026
tarcieri added a commit that referenced this pull request Jan 20, 2026
## Added
- `core::num::NonZero<T>` support (#1368)
- Pluggable trait impls for `[T]` and `[T; N]` with helper traits: (#1388)
  - `CtAssign`: `CtAssignSlice`
  - `CtEq`: `CtEqSlice`
  - `CtSelect`: `CtSelectArray`
- `CtSelectUsingCtAssign` marker trait (#1391)

## Changed
- Split `CtAssign` out of `CtSelect` (#1363)
- Bump `cmov` to v0.5 (#1386)

## Removed
- `BytesCtEq`/`BytesCtSelect` no longer needed because default `[u8]`
  impls are fast (#1376)
- `target_pointer_width` gating (#1389)
- `unsafe` code (#1405)
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