hundreds-father-404
01/11/2021, 11:54 PMprotoc
being installed in the environment because there's no precompiled binary.
failures:
local_tests::garbage_collect_and_compact
test result: FAILED. 110 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out
witty-crayon-22786
01/12/2021, 12:30 AMwitty-crayon-22786
01/12/2021, 12:30 AMfeature
that we could enable there…? cc @fast-nail-55400hundreds-father-404
01/12/2021, 12:36 AMwitty-crayon-22786
01/12/2021, 12:36 AMwitty-crayon-22786
01/12/2021, 12:36 AMhundreds-father-404
01/12/2021, 12:37 AMfast-nail-55400
01/12/2021, 12:39 AMwitty-crayon-22786
01/12/2021, 12:40 AMfast-nail-55400
01/12/2021, 12:41 AMfast-nail-55400
01/12/2021, 12:41 AMfast-nail-55400
01/12/2021, 12:41 AMfast-nail-55400
01/12/2021, 12:42 AM/// Returns the path to the bundled `protoc`, if it is available for the host platform.
#[cfg(not(target_env = "musl"))]
fn bundled_protoc() -> Option<PathBuf> {
let protoc_bin_name = match (env::consts::OS, env::consts::ARCH) {
("linux", "x86") => "protoc-linux-x86_32",
("linux", "x86_64") => "protoc-linux-x86_64",
("linux", "aarch64") => "protoc-linux-aarch_64",
("macos", "x86_64") => "protoc-osx-x86_64",
("macos", "aarch64") => "protoc-osx-x86_64", // will be translated to aarch64 by Rosetta
("windows", _) => "protoc-win32.exe",
_ => return None,
};
Some(bundle_path().join(protoc_bin_name))
}
fast-nail-55400
01/12/2021, 12:42 AM("macos", "aarch64") => "protoc-osx-x86_64", // will be translated to aarch64 by Rosetta
fast-nail-55400
01/12/2021, 12:43 AMfast-nail-55400
01/12/2021, 12:44 AMfast-nail-55400
01/12/2021, 12:44 AMhundreds-father-404
01/12/2021, 4:05 PM