(
compiler: string,
options: string[],
inputFilename: string,
execOptions: ExecutionOptionsWithEnv,
)
| 56 | } |
| 57 | |
| 58 | override async runCompiler( |
| 59 | compiler: string, |
| 60 | options: string[], |
| 61 | inputFilename: string, |
| 62 | execOptions: ExecutionOptionsWithEnv, |
| 63 | ) { |
| 64 | // mrustc will always invoke a C compiler on its C output to create a final exec/object. |
| 65 | // There's no easy way to disable this last step, so simply faking it with 'true' works. |
| 66 | execOptions.env.CC = 'true'; |
| 67 | |
| 68 | return super.runCompiler(compiler, options, inputFilename, execOptions); |
| 69 | } |
| 70 | |
| 71 | override getOutputFilename(dirPath: string) { |
| 72 | return path.join(dirPath, `${path.basename(this.compileFilename, this.lang.extensions[0])}.c`); |
nothing calls this directly
no outgoing calls
no test coverage detected