MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / createCompiler

Function createCompiler

test/win-path-tests.ts:77–88  ·  view source on GitHub ↗
(compiler)

Source from the content-addressed store, hash-verified

75let ce: CompilationEnvironment;
76
77function createCompiler(compiler) {
78 if (ce === undefined) {
79 ce = makeCompilationEnvironment({languages});
80 }
81
82 const info = {
83 lang: languages['c++'].id,
84 envVars: [],
85 };
86
87 return new compiler(info, ce);
88}
89
90if (process.platform === 'linux' && child_process.execSync('uname -a').toString().includes('Microsoft')) {
91 // WSL

Callers 1

win-path-tests.tsFile · 0.70

Calls 1

Tested by

no test coverage detected