This repository was archived by the owner on May 20, 2020. It is now read-only.
This repository was archived by the owner on May 20, 2020. It is now read-only.
Rustdoc only works on crates using the nightly compiler #95
Open
Description
I tried running this on my stable crate github-rs and it failed becausse it couldn't generate the analysis.
The reason is because we use the -Z option to pass in to cargo. This option now only works on nightly.
However, with rustup that directory is set to stable rust so the version of cargo called there is the stable version which doesn't work with -Z causing the failure.
EDIT:
- Tracking Issue: Tracking issue for
-Zsave-analysis
rust-lang/rust#43606 - Using cargo directly is not the best thing to do
- We just need to wait on the save analysis feature being stabilized at some point