You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cargo doc runs a full build, and fails if any build.rs script fails. This is a problem for docs.rs, because it can't build documentation for -sys crates that usually require a specific library installed on the system (e.g. ffmpeg-sys won't build without a specific version of ffmpeg, so it doesn't get documented).
At very least there should be some cfg(doc) or env variable to detect docs build, so that tricky bits not relevant to the documentation can be skipped. Maybe Cargo/rustdoc could be instructed to plow through build failures and document as much as it can?