Skip to content

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

Merged
sunfishcode merged 5 commits into0.36from
sunfishcode/0.36-fix-doc-build
Apr 23, 2023
Merged

Remove an unneeded doc, fixing the doc build on stable Rust.#627
sunfishcode merged 5 commits into0.36from
sunfishcode/0.36-fix-doc-build

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