Skip to content

Backport fixes to 0.36 #557

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

Merged
merged 5 commits into from
Mar 4, 2023
Merged

Backport fixes to 0.36 #557

merged 5 commits into from
Mar 4, 2023

Conversation

sunfishcode
Copy link
Member

Backport #535, #540, and #556 to 0.36.

sunfishcode and others added 5 commits March 3, 2023 23:04
)

`setns`, `preadv64v2`, and `pwritev64v2` were introduced more recently
than the earliest glibc we support, so use the `weak!` mechanism for
them, with fallbacks using `syscall`.
* Fix `use-libc-auxv` to use a weak dependency on `getauxval`.

glibc <= 2.15 lacks `getauxval`, so avoid a strong dependency on it in
the `use-libc-auxv` implementation.
FreeBSD CI has been broken for some time with this error

```
[4/4] Extracting curl-7.87.0_1: .......... done
curl https://sh.rustup.rs -sSf --output rustup.sh
ld-elf.so.1: /usr/local/lib/libcurl.so.4: Undefined symbol "nghttp2_option_set_no_rfc9113_leading_and_trailing_ws_validation"
```

Comment it out for now.
The issue was using snapshots of already released versions, which
is not supported.
* Add more `cargo:rerun-if-env-changed`'s to build.rs

Add more `cargo:rerun-if-env-changed`'s to build.rs for rustix's
features, configuration flags, and the toolchain variables rustix uses
for autoconfiguration, to hopefully ensure it gets rerun when anything
changes.

See also #526.

* Don't include all the cargo features.
@sunfishcode
Copy link
Member Author

And #544.

@sunfishcode sunfishcode merged commit b6a067a into 0.36 Mar 4, 2023
@sunfishcode sunfishcode deleted the 0.36-updates branch March 4, 2023 07:35
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