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

Method constructor

lib/compilers/tinygo.ts:41–51  ·  view source on GitHub ↗
(compilerInfo: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

39 }
40
41 constructor(compilerInfo: PreliminaryCompilerInfo, env: CompilationEnvironment) {
42 super(compilerInfo, env);
43
44 this.tinygoRoot = path.dirname(path.dirname(compilerInfo.exe));
45
46 const group = this.compiler.group;
47 this.goRoot = this.compilerProps<string | undefined>(
48 'goroot',
49 this.compilerProps<string | undefined>(`group.${group}.goroot`),
50 );
51 }
52
53 override getSharedLibraryPathsAsArguments() {
54 return [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected