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

cargo +nightly doc compilation broken #3880

Closed
thanethomson opened this issue Jun 21, 2021 · 2 comments
Closed

cargo +nightly doc compilation broken #3880

thanethomson opened this issue Jun 21, 2021 · 2 comments
Assignees
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. T-docs Topic: documentation

Comments

@thanethomson
Copy link

thanethomson commented Jun 21, 2021

Version
1.7.1

Platform

  • GitHub Actions running Ubuntu latest
  • Ubuntu 20.04.2 LTS

Description
We're currently running into an issue trying to test our documentation build: https://github.com/informalsystems/tendermint-rs/pull/910/checks?check_run_id=2878946357

It appears as though it's due to the new named pipe code introduced in #3760, specifically the code in tokio/src/net/windows/named_pipe.rs

The command to run to reproduce this problem locally on our side (from Ubuntu) is:

RUSTFLAGS="--cfg docsrs" cargo +nightly doc --all-features
@thanethomson thanethomson added A-tokio Area: The main tokio crate C-bug Category: This is a bug. labels Jun 21, 2021
@Darksonn Darksonn added the T-docs Topic: documentation label Jun 22, 2021
@Darksonn
Copy link
Contributor

The correct command is:

RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features

@thanethomson
Copy link
Author

Excellent, thanks @Darksonn! That fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. T-docs Topic: documentation
Projects
None yet
Development

No branches or pull requests

3 participants