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

[0.2] Backport of two pull requests #3877

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

tgross35
Copy link
Contributor

@rustbot
Copy link
Collaborator

rustbot commented Aug 29, 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

This commit updates CI to resume testing WASI. This updates the
container and testing scripts from historical processes to more modern
ones, e.g. downloading wasi-sdk instead of compiling a custom toolchain.
This should make it easier to update in the future and keep it in sync
with rust-lang/rust as well.

This also required a few minor fixes such as:

* The `S_IFIFO` and `S_IFMT` constants had incorrect values.
* The `CLOCK_*` definitions cause `ctest2`'s parsing to panic to they're
  skipped with a new `#[cfg]`.
* A new `langinfo.h` header was added to the list to include.
* Some historically skipped checks were removed since they're no longer
  necessary.
* Checks for `__errno_location` are disabled since that doesn't actually
  exist in headers.
* Checks for `select` are disabled because the Rust definition got the
  `const`-ness swapped for the final `timeval` argument.

(backport <rust-lang#3869>)
[ resolve conflicts - Trevor ]
(cherry picked from commit 7c10562)
This is similar to rust-lang#3869 except that it adds tests for `wasm32-wasip2`
in addition to `wasm32-wasip1`. This is intended to eventually empower
definitions from rust-lang/rust#129638 to move into this repository.

(backport <rust-lang#3870>)
(cherry picked from commit 15f8c44)
@tgross35 tgross35 added this pull request to the merge queue Aug 29, 2024
Merged via the queue into rust-lang:libc-0.2 with commit 567c854 Aug 29, 2024
53 checks passed
@tgross35 tgross35 deleted the backport-butternut branch August 29, 2024 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants