Skip to content

[main] Cherry picks from 0.2 #4070

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 10 commits into from
Nov 17, 2024
Merged

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Nov 17, 2024

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)
@rustbot
Copy link
Collaborator

rustbot commented Nov 17, 2024

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@tgross35 tgross35 force-pushed the main-cherry-picks branch 2 times, most recently from 9207098 to aea752a Compare November 17, 2024 01:16
@rustbot rustbot added the O-wasi label Nov 17, 2024
@tgross35 tgross35 force-pushed the main-cherry-picks branch 2 times, most recently from ea3b115 to 7dd0600 Compare November 17, 2024 01:20
tgross35 and others added 5 commits November 16, 2024 19:26
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 <josh@joshtriplett.org>

(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.
@rustbot
Copy link
Collaborator

rustbot commented Nov 17, 2024

Some changes occurred in solarish module

cc @jclulow, @pfmooney

joshtriplett and others added 4 commits November 16, 2024 19:41
[ 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)
This is possible since increasing the MSRV to 1.63

(apply <rust-lang#4065> to `main`)
(cherry picked from commit 85eac5f)
@tgross35 tgross35 added this pull request to the merge queue Nov 17, 2024
Merged via the queue into rust-lang:main with commit eccfe7a Nov 17, 2024
44 checks passed
@tgross35 tgross35 deleted the main-cherry-picks branch November 17, 2024 07:43
@tgross35 tgross35 added the stable-unneeded This PR is applied to main but already exists on libc-0.2 label Mar 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants