-
Notifications
You must be signed in to change notification settings - Fork 97
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
Run rustdoc as part of CI process / resolve failure on docs.rs #241
Comments
Turns out https://doc.rust-lang.org/cargo/reference/environment-variables.html |
iliekturtles
added a commit
that referenced
this issue
Feb 15, 2021
iliekturtles
added a commit
that referenced
this issue
Feb 15, 2021
iliekturtles
added a commit
that referenced
this issue
Feb 15, 2021
Reduced features for docs.rs to drop max memory usage below 3 GB.
|
iliekturtles
added a commit
that referenced
this issue
Feb 16, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.rs/crate/uom/0.31.0/builds/332917
v0.31.0 failed to build documentation on docs.rs. Likely cause is time/memory limits based on the SIGKILL in the log. The log also highlights a warning that wasn't caught as part of the CI process.
Running rustdoc as part of CI is complicated because
cargo doc
doesn't provide a way to pass the-D warnings
flag to rustdoc itself.rustdoc
doesn't useRUSTFLAGS
or a similar variable as far as I can tell and the cargo interface provides no escape to send parameters directly rust doc, e.g.cargo doc -- -D warnings
.Currently
uom
instructs docs.rs to compile with all features.uom/Cargo.toml
Lines 19 to 20 in 8a4883b
How much time/memory is this taking? Reduce the number of features? Ask for a sandbox limit increase?
The text was updated successfully, but these errors were encountered: