[GH-ISSUE #1535] Docs.rs is failing to build trust-dns due to failure in dependency chain with Tokio #696

Closed
opened 2026-03-15 23:52:27 +03:00 by kerem · 4 comments
Owner

Originally created by @bluejekyll on GitHub (Aug 10, 2021).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1535

Describe the bug
Docs.rs is failing to build trust-dns due to failure in dependency chain with Tokio

To Reproduce
https://docs.rs/crate/trust-dns-proto/0.21.0-alpha.1/builds/421275

Can be reproduced in the proto crate with cargo +nightly rustdoc --lib "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustflags=[\"--cfg\", \"docsrs\"]", the command that docs.rs appears to use.

System:
docs.rs

Originally created by @bluejekyll on GitHub (Aug 10, 2021). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/1535 **Describe the bug** Docs.rs is failing to build trust-dns due to failure in dependency chain with Tokio **To Reproduce** https://docs.rs/crate/trust-dns-proto/0.21.0-alpha.1/builds/421275 Can be reproduced in the proto crate with `cargo +nightly rustdoc --lib "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustflags=[\"--cfg\", \"docsrs\"]"`, the command that docs.rs appears to use. **System:** docs.rs
kerem 2026-03-15 23:52:27 +03:00
  • closed this issue
  • added the
    docs
    label
Author
Owner

@djc commented on GitHub (Aug 10, 2021):

I pinged #tokio-dev on Discord.

<!-- gh-comment-id:895835420 --> @djc commented on GitHub (Aug 10, 2021): I pinged #tokio-dev on Discord.
Author
Owner

@bluejekyll commented on GitHub (Aug 10, 2021):

Oh. I already got an answer:

It's because Tokio has any(docsrs, windows) on the named pipe module. The next release will fix it

https://discord.com/channels/500028886025895936/642133776343760896/874519999719555082

<!-- gh-comment-id:896037434 --> @bluejekyll commented on GitHub (Aug 10, 2021): Oh. I already got an answer: > It's because Tokio has `any(docsrs, windows)` on the named pipe module. The next release will fix it https://discord.com/channels/500028886025895936/642133776343760896/874519999719555082
Author
Owner

@bluejekyll commented on GitHub (Aug 10, 2021):

The disappointing thing is that I was really excited to see all the feature flag docs in this release!

<!-- gh-comment-id:896068534 --> @bluejekyll commented on GitHub (Aug 10, 2021): The disappointing thing is that I was really excited to see all the feature flag docs in this release!
Author
Owner

@bluejekyll commented on GitHub (Aug 12, 2021):

This is resolved: https://github.com/tokio-rs/tokio/pull/4020

<!-- gh-comment-id:897940476 --> @bluejekyll commented on GitHub (Aug 12, 2021): This is resolved: https://github.com/tokio-rs/tokio/pull/4020
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#696
No description provided.