-
-
Notifications
You must be signed in to change notification settings - Fork 117
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
Documentation failed to build in docs.rs #145
Comments
Documenting that release with that compiler does work locally... $ git checkout 0.4.21
$ RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo +nightly-2018-10-20 doc |
From tracing through the feature flags, this failure means that the build was configured as follows:
Relevant configuration on our end: From this I conclude that |
The docs are fine for 0.4.20 but failed to build for 0.4.21. #144 did touch build.rs in that range but I don't see anything in that change that would break this way. Meanwhile there have been lots of commits to https://github.com/rust-lang-nursery/docs.rs between our two releases. rust-lang/docs.rs@32102ce...c695234 Mentioning @QuietMisdreavus in case anything rings a bell. |
Working backwards from the command-lines given by Cargo in the log...
But in the build log for 0.4.20...
It looks like 0.4.21 is getting more cfg flags. I don't think the rustdoc-args configuration was ever given to the build script. It's analogous to setting |
279519f seems to fix it. I released 0.4.22 and filed rust-lang/docs.rs#262 to follow up in docs.rs. |
I think i found the major difference: The rustc used by docs.rs until recently had the version string |
Right you are! I missed that the previous version was building with 1.28.0-dev. 👏 Thanks and apologies for dragging you into this. |
Will need to dig into what happened here. For now our documentation is serving a 404.
https://docs.rs/crate/proc-macro2/0.4.21/builds/126085
The text was updated successfully, but these errors were encountered: