MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / runCompiler

Method runCompiler

lib/compilers/circle.ts:58–71  ·  view source on GitHub ↗
(
        compiler: string,
        options: string[],
        inputFilename: string,
        execOptions: ExecutionOptionsWithEnv,
    )

Source from the content-addressed store, hash-verified

56 }
57
58 override async runCompiler(
59 compiler: string,
60 options: string[],
61 inputFilename: string,
62 execOptions: ExecutionOptionsWithEnv,
63 ) {
64 if (!execOptions) {
65 execOptions = this.getDefaultExecOptions();
66 }
67
68 execOptions.customCwd = path.dirname(inputFilename);
69
70 return await super.runCompiler(compiler, options, inputFilename, execOptions);
71 }
72}

Callers

nothing calls this directly

Calls 1

getDefaultExecOptionsMethod · 0.45

Tested by

no test coverage detected