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

Method handleUserBuildError

lib/base-compiler.ts:2790–2803  ·  view source on GitHub ↗
(error: any, dirPath: string)

Source from the content-addressed store, hash-verified

2788 }
2789
2790 handleUserBuildError(error: any, dirPath: string): BuildResult {
2791 return {
2792 dirPath,
2793 okToCache: false,
2794 code: -1,
2795 timedOut: false,
2796 asm: [{text: `<${error.message}>`}],
2797 stdout: [],
2798 stderr: [{text: `<${error.message}>`}],
2799 downloads: [],
2800 executableFilename: '',
2801 compilationOptions: [],
2802 };
2803 }
2804
2805 async doBuildstepAndAddToResult(
2806 result: CompilationResult,

Callers 1

getOrBuildExecutableMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected