(options: string[], execOptions: ExecutionOptionsWithEnv)
| 141 | } |
| 142 | |
| 143 | async linkExecutable(options: string[], execOptions: ExecutionOptionsWithEnv) { |
| 144 | // Rely on the fact we definitely put a `-o` in the options. |
| 145 | const outputFile = options[options.indexOf('-o') + 1]; |
| 146 | const renamedFile = outputFile + '.tmp'; |
| 147 | await fs.rename(outputFile, renamedFile); |
| 148 | return await this.exec(this.executableLinker, ['-o', outputFile, renamedFile], execOptions); |
| 149 | } |
| 150 | |
| 151 | override async runCompiler( |
| 152 | compiler: string, |