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

Method constructor

lib/compilers/zigcc.ts:38–43  ·  view source on GitHub ↗
(info: any, env: any)

Source from the content-addressed store, hash-verified

36 }
37
38 constructor(info: any, env: any) {
39 super(info, env);
40 this.needsForcedBinary =
41 Semver.gte(asSafeVer(this.compiler.semver), '0.6.0', true) &&
42 Semver.lt(asSafeVer(this.compiler.semver), '0.9.0', true);
43 }
44
45 override preProcess(source: string, filters: CompilerOutputOptions): string {
46 if (this.needsForcedBinary) {

Callers

nothing calls this directly

Calls 2

asSafeVerFunction · 0.85
gteMethod · 0.80

Tested by

no test coverage detected