Skip to content

Remove an unneeded doc, fixing the doc build on stable Rust. #627

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
Apr 23, 2023

Conversation

sunfishcode
Copy link
Member

Remove a doc comment which is redundant because it's on a re-export of an item which already has its own doc comment. This also happens to work around a bug in at least Rust 1.69.

Fixes #624.

Remove a doc comment which is redundant because it's on a re-export of
an item which already has its own doc comment. This also happens to work
around a bug in at least Rust 1.69.

Fixes #624.
tempfile 3.5.0 depends on rustix 0.37. Pin to tempfile 3.4.0 since it
uses rustix 0.36 as this is the rustix 0.36 branch.
FreeBSD CI is currently broken with this error

```
[4/4] Extracting curl-7.88.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"
```

From some quick searches I found [this bug] which looks related, but I
didn't see anything in the discussion which would let us work around the
problem.

[this bug]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269253
@sunfishcode sunfishcode merged commit a0a03b1 into 0.36 Apr 23, 2023
@sunfishcode sunfishcode deleted the sunfishcode/0.36-fix-doc-build branch April 23, 2023 15:14
aqrln added a commit to prisma/prisma-engines that referenced this pull request May 8, 2023
Update rustix with `cargo update -p rustix`.

This should work around the ICE that happens when running `cargo doc`
on CI: https://github.com/prisma/prisma-engines/actions/runs/4915235114/jobs/8777494487.

The ICE is already fixed in beta and nightly but not in stable
yet (rust-lang/rust#109424). Newer versions
of rustix than we have don't trigger the bug because it was worked
around in bytecodealliance/rustix#627.
aqrln added a commit to prisma/prisma-engines that referenced this pull request May 8, 2023
Update rustix with `cargo update -p rustix`.

This should work around the ICE that happens when running `cargo doc`
on CI: https://github.com/prisma/prisma-engines/actions/runs/4915235114/jobs/8777494487.

The ICE is already fixed in beta and nightly but not in stable
yet (rust-lang/rust#109424). Newer versions
of rustix than we have don't trigger the bug because it was worked
around in bytecodealliance/rustix#627.
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.

1 participant