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

Method constructor

lib/compilers/sway.ts:57–63  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

55 }
56
57 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
58 super(info, env);
59 this.compiler.supportsIrView = true;
60 this.compiler.irArg = ['build', '--ir', 'final'];
61 this.compiler.supportsIntel = true;
62 this.std = this.compilerProps<string>(`compiler.${this.compiler.id}.std`, undefined);
63 }
64
65 override async checkOutputFileAndDoPostProcess(asmResult: CompilationResult): Promise<[any, any[], any[]]> {
66 return [asmResult, [], []];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected