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

Method getLibraryOptions

lib/base-compiler.ts:1106–1112  ·  view source on GitHub ↗
(libraries: SelectedLibraryVersion[])

Source from the content-addressed store, hash-verified

1104 }
1105
1106 getLibraryOptions(libraries: SelectedLibraryVersion[]): string[] {
1107 return libraries.flatMap(selectedLib => {
1108 const foundVersion = this.findLibVersion(selectedLib);
1109 if (!foundVersion) return [];
1110 return foundVersion.options;
1111 });
1112 }
1113
1114 orderArguments(
1115 options: string[],

Callers 1

prepareArgumentsMethod · 0.95

Calls 1

findLibVersionMethod · 0.95

Tested by

no test coverage detected