Skip to main content

resolve_matching_rustdoc

Function resolve_matching_rustdoc 

Source
pub fn resolve_matching_rustdoc(
    selection: &SelectedRustCompilerCompanion,
) -> Result<PathBuf, RustCompilerSelectionError>
Expand description

Resolve the rustdoc executable adjacent to Cargo’s exact rustc and require the same compiler commit, release and host. Rustdoc intentionally has no independent driver digest; the already-authenticated companion remains bound to rustc’s exact driver bytes.