Skip to content
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

Replace golang.org/x/exp/slices with slices in the stdlib #2767

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

michaeldwan
Copy link
Contributor

We've been using slices.SortFunc from golang.org/x/exp to get functionality in go 1.21's stdlib a little early. The version we have in go.mod is a few months old, and since then the signature in stdlib and exp/slices has changed. That change caused build issues for a few folks, like #2748.

This PR swaps over to slices in stdlib and fixes incompatible references. It also upgrades to the latest golang.org/x/exp.

Copy link
Contributor

@gwuah gwuah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🦾

@michaeldwan michaeldwan merged commit 979dd7f into master Aug 30, 2023
37 checks passed
@michaeldwan michaeldwan deleted the stdlib-updates branch August 30, 2023 21:20
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