[−][src]Function cargo_toolchain::get_directory_toolchain
pub fn get_directory_toolchain() -> Result<String>
Get the default rustup toolchain for the current directory.
Affected by directory overrides, but not command line flags (e.g. cargo +nightly ...
)
Errors
If the rustup
command fails or its output cannot be interpreted as utf-8,
an error is returned.