{"ast_node_type":"function","tokens":[{"end":75,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn get_toolchain_binary(sess: &Session, tool: &str) -> PathBuf {
/// Tries to infer the path of a binary for the target toolchain from the linker name.
    let (mut linker, _linker_flavor) = linker_and_flavor(sess);