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

Method constructor

lib/compilers/crystal.ts:45–52  ·  view source on GitHub ↗
(compiler: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

43 ccPath: string;
44
45 constructor(compiler: PreliminaryCompilerInfo, env: CompilationEnvironment) {
46 super(compiler, env);
47 this.asm = new CrystalAsmParser();
48 this.compiler.supportsIrView = true;
49 this.compiler.supportsIntel = this.supportsIntel();
50 this.compiler.irArg = ['--emit', 'llvm-ir'];
51 this.ccPath = this.compilerProps<string>(`compiler.${this.compiler.id}.cc`);
52 }
53
54 override getSharedLibraryPathsAsArguments() {
55 return [];

Callers

nothing calls this directly

Calls 1

supportsIntelMethod · 0.95

Tested by

no test coverage detected