()
| 103 | } |
| 104 | |
| 105 | fn local_build_target() -> &'static str { |
| 106 | if cfg!(target_os = "windows") { |
| 107 | "x86_64-pc-windows-msvc" |
| 108 | } else { |
| 109 | BUILD_TARGET |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | fn compile_locally(path_to_cargo_folder: &Path) -> Result<(), Box<dyn std::error::Error>> { |
| 114 | let target = local_build_target(); |