fn is_zig_cc(path: &Path, cargo_output: &CargoOutput) -> Result<bool, Error> { Ok(run_output( command_new(path)?.arg("--version"), path, // tool detection issues should always be shown as warnings cargo_output, ) .map(|o| String::from_utf8_lossy(&o).contains("ziglang")) ...
output.push_back(((int)value) + 5); } while (p_input.iter_next(iter, is_iter_next_valid)); if (!is_iter_next_valid) { return "iter_next: not valid"; } return output; } void Example::test_rpc(int p_value) { last_rpc_arg = p_value; } Expand All @@ -579,11 +413,6 ...
fn is_zig_cc(path: &Path, cargo_output: &CargoOutput) -> Result<bool, Error> { Ok(run_output( command_new(path)?.arg("--version"), path, // tool detection issues should always be shown as warnings cargo_output, ) .map(|o| String::from_utf8_lossy(&o).contains("ziglang")) ...
Ok(run_output( command_new(path)?.arg("--version"), path, // tool detection issues should always be shown as warnings cargo_output, ) .map(|o| String::from_utf8_lossy(&o).contains("ziglang")) .unwrap_or_default() .unwrap_or_default()) ...