-
Notifications
You must be signed in to change notification settings - Fork 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
Rebase of "Upgrade musl supported version to 1.2.3" #3791
base: main
Are you sure you want to change the base?
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @JohnTitor (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
FYI, no problem on OpenBSD side |
c45a829
to
0185395
Compare
☔ The latest upstream changes (presumably #3797) made this pull request unmergeable. Please resolve the merge conflicts. |
@rustbot author |
musl 1.1 maintenance has for all practical purposes ended. Accordingly, there is no point in supporting both 1.1 and 1.2 in the libc crate, so follow the time_t type transition to 64-bit.
- add padding members for musl 1.2 - ensure the padding members have an appropriate type (always c_int)
Only some 32-bit targets use the time64 family of functions and that set will not change going forward (new 32-bit targets added will use Y2038 compliant syscalls and types by default). This patch introduces a cfg flag that controls when the time64 abi related changes are enabled and sets that flag from libc and libc-tests' build.rs files.
By using set_cfg() helper.
Glad to see most pass! The only failure of Line 2744 in fc28283
Not sure how to resolve it. |
☔ The latest upstream changes (presumably #3869) made this pull request unmergeable. Please resolve the merge conflicts. |
Are you able to just skip the type with a fixme? I think we have emscripten-specific ignores already. Also not sure why this would be happening, but I am really hoping we don't need to block this on |
Also @kaniini I think you had some ideas about how to do musl better here. If you get a chance, would you mind taking a look at this? |
Also discussed in GSoC Zulip. Related: GSoC Idea OSPP Idea OSPP Zulip.
This PR is mainly the rebase of #3068 . So closes #3068 fixes #1848 closes #2088 .
Some other changes are made:
#[allow(unused_imports)]
.For the checklist for review or CI, as the original PR should have passed it, this PR only makes sure
ci/style.sh
andcd libc-test && cargo test
pass