(hostTargetTriple)
| 93 | } |
| 94 | |
| 95 | function getMsvcArchFromRustTarget(hostTargetTriple) { |
| 96 | if (typeof hostTargetTriple !== "string") return "x64"; |
| 97 | if (hostTargetTriple.startsWith("x86_64-")) return "x64"; |
| 98 | if (hostTargetTriple.startsWith("i686-")) return "x86"; |
| 99 | if (hostTargetTriple.startsWith("aarch64-")) return "arm64"; |
| 100 | return "x64"; |
| 101 | } |
| 102 | |
| 103 | function getMsvcHostArch() { |
| 104 | if (process.arch === "x64") return "x64"; |
no outgoing calls
no test coverage detected