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

Compilation failure with rust-nightly because of external_doc feature #3

Open
camelop opened this issue Jun 7, 2021 · 1 comment
Open

Comments

@camelop
Copy link

camelop commented Jun 7, 2021

#![cfg_attr(feature = "nightly", feature(external_doc))]

The current version (2.4.1) fails to compile with rustc 1.54.0-nightly (35fff69d0 2021-06-06) because the "external_doc" feature has been removed. For more information, see this PR.

@hdevalence
Copy link
Collaborator

Not sure what the best way to fix this is.

Switching to

#![cfg_attr(feature = "nightly", doc = include_str!("../README.md"))]

doesn't work on stable, because the right hand side of the cfg_attr has unstable syntax, even though it's not taken.

This is supposed to be stable in 1.54, but I think that doesn't land for three weeks or so.

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

No branches or pull requests

2 participants