Skip to main content

project_toolchain

Function project_toolchain 

Source
pub async fn project_toolchain(project: &Project) -> Result<String>
Expand description

The rustup toolchain a project’s builds run under: the one its own directory selects, whatever directory the generated crate compiles in.

§Errors

Returns an error when rustup resolves no toolchain for the project.