-
-
Notifications
You must be signed in to change notification settings - Fork 720
refactor(data_structures)!: remove PointerExt trait
#12903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(data_structures)!: remove PointerExt trait
#12903
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
CodSpeed Instrumentation Performance ReportMerging #12903 will not alter performanceComparing Summary
|
2d7df35 to
6d94216
Compare
d862c8c to
93da928
Compare
93da928 to
4360e72
Compare
Merge activity
|
`PointerExt` trait was introduced to allow using `NonNull::offset_from_unsigned` (and similar APIs) on Rust v1.87.0 and above, without breaking code on earlier Rust versions where these APIs did not exist. Our MSRV is now v1.87.0 (#12900), so we can just use these methods directly, and `PointerExt` is not required any more. Remove it.
4360e72 to
128b527
Compare
) `PointerExt` trait was introduced to allow using `NonNull::offset_from_unsigned` (and similar APIs) on Rust v1.87.0 and above, without breaking code on earlier Rust versions where these APIs did not exist. Our MSRV is now v1.87.0 (oxc-project#12900), so we can just use these methods directly, and `PointerExt` is not required any more. Remove it.

PointerExttrait was introduced to allow usingNonNull::offset_from_unsigned(and similar APIs) on Rust v1.87.0 and above, without breaking code on earlier Rust versions where these APIs did not exist.Our MSRV is now v1.87.0 (#12900), so we can just use these methods directly, and
PointerExtis not required any more. Remove it.