-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[main] Cherry picks from 0.2 #4070
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This just suppresses a warning. Ideally this should go to 2021 but that requires quite a bit of refactoring, so hold off until the rest of the 0.2 cleanup is complete. (apply <rust-lang#4058> to `main`) (cherry picked from commit 1e88f41)
r? @JohnTitor rustbot has assigned @JohnTitor. Use |
tgross35
force-pushed
the
main-cherry-picks
branch
9 times, most recently
from
November 17, 2024 00:57
284a5c4
to
3e30c8b
Compare
tgross35
force-pushed
the
main-cherry-picks
branch
3 times, most recently
from
November 17, 2024 01:08
e65fce1
to
a618690
Compare
tgross35
force-pushed
the
main-cherry-picks
branch
2 times, most recently
from
November 17, 2024 01:16
9207098
to
aea752a
Compare
tgross35
force-pushed
the
main-cherry-picks
branch
2 times, most recently
from
November 17, 2024 01:20
ea3b115
to
7dd0600
Compare
This is mostly taken from Josh's work at [1], I just updated to account for conflicts and new uses of `libc_align`. [1]: rust-lang#2845 Co-authored-by: Josh Triplett <[email protected]> (apply <rust-lang#4057> to `main`) (cherry picked from commit b5b553d) As part of this update, drop the `align` feature from Cargo.toml and libc-test. Changes are reduced in this cherry pick compared to the original commit because some of this was already applied to `main`.
[ resolve conflicts and add test skips that seem to be needed now - Trevor ] (apply <rust-lang#4060> to `main`) (cherry picked from commit 23a0d01) Changes are reduced in this cherry pick compared to the original commit because some of this was already applied to `main`.
Move the `c_void` re-export to the top-level `lib.rs`. (apply <rust-lang#4060> to `main`) (cherry picked from commit e221887) Changes are reduced in this cherry pick compared to the original commit because some of this was already applied to `main`.
[ resolve conflicts, update to latest - Trevor ] (apply <rust-lang#4060> to `main`) (cherry picked from commit 9dac79f) Changes are reduced in this cherry pick compared to the original commit because some of this was already applied to `main`.
[ resolve conflicts - Trevor ] (apply <rust-lang#4060> to `main`) (cherry picked from commit 3d97cdf) No changes in this cherry pick, `main` is already up to date.
tgross35
force-pushed
the
main-cherry-picks
branch
from
November 17, 2024 01:30
7dd0600
to
c754031
Compare
tgross35
force-pushed
the
main-cherry-picks
branch
from
November 17, 2024 01:41
098b622
to
12c2b35
Compare
[ resolve conflicts - Trevor ] (apply <rust-lang#4060> to `main`) (cherry picked from commit d00d1de)
Rust >= 1.47 supports traits for arrays of arbitrary size, so remove the various hacks using nested arrays when the native platform definition uses a single array. (apply <rust-lang#4062> to `main`) (cherry picked from commit 27ee6fe)
Sources: * FreeBSD `__reserve_pad`: [1] * NetBSD `accept_filter_arg`: https://man.netbsd.org/setsockopt.2 [1]: https://github.com/freebsd/freebsd-src/blob/4b4e88d9425b59a377a71ffeb553376b1c60a80e/sys/netinet/sctp_uio.h#L110-L146 (apply <rust-lang#4062> to `main`) (cherry picked from commit d63be8b)
This is possible since increasing the MSRV to 1.63 (apply <rust-lang#4065> to `main`) (cherry picked from commit 85eac5f)
tgross35
force-pushed
the
main-cherry-picks
branch
from
November 17, 2024 01:41
12c2b35
to
e855f2f
Compare
This was referenced Nov 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Apply the following to
main
as applicable:ptr_addr_of
conditional #4065