Skip to main content

validate_runtime_tool_versions

Function validate_runtime_tool_versions 

Source
pub fn validate_runtime_tool_versions(
    versions: Vec<RuntimeToolVersion>,
) -> Result<Vec<RuntimeToolVersion>, RuntimeSpecError>
Expand description

Validate a set of requested runtime tool versions.

§Arguments

  • versions - Runtime tool versions collected from a workspace manifest.

§Returns

Runtime tool versions in input order.

§Errors

Returns RuntimeSpecError::ConflictingCompilerVersions when c, cpp, and clang request different LLVM Clang versions.