-
Notifications
You must be signed in to change notification settings - Fork 19
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
running 'cargo doc' on rust stable produces error #18
Comments
This is expected since we used If you want to run the docs or tests yourself you'll have to use nightly. To do so, you can run this inside the bitcode project:
|
This breaks #![cfg_attr(any(nightly, docsrs), feature(doc_cfg, doc_auto_cfg))] I use this in my own stable crate, and it lets me run |
This has been fixed on the latest alpha version |
error[E0554]:
#![feature]
may not be used on the stable release channel--> /home/stephan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bitcode-0.5.1/src/lib.rs:2:18
|
2 | #![cfg_attr(doc, feature(doc_cfg))]
| ^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: