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

Function removeSysrootArg

lib/toolchain-utils.ts:61–63  ·  view source on GitHub ↗
(compilerOptions: string[])

Source from the content-addressed store, hash-verified

59}
60
61export function removeSysrootArg(compilerOptions: string[]): string[] {
62 return compilerOptions.filter(elem => !elem.includes(clang_style_sysroot_flag));
63}
64
65export function replaceToolchainArg(compilerOptions: string[], newPath: string): string[] {
66 return compilerOptions.map(elem => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected