(key: CacheKey)
| 189 | } |
| 190 | |
| 191 | getLibcxx(key: CacheKey): string { |
| 192 | const match = this.compiler.options.match(/-stdlib=(\S*)/i); |
| 193 | if (match) { |
| 194 | return match[1]; |
| 195 | } |
| 196 | const stdlibOption: string | undefined = _.find(key.options, option => { |
| 197 | return option.startsWith('-stdlib='); |
| 198 | }); |
| 199 | |
| 200 | if (stdlibOption) { |
| 201 | return stdlibOption.substring(8); |
| 202 | } |
| 203 | |
| 204 | return this.defaultLibCxx; |
| 205 | } |
| 206 | |
| 207 | getTarget(key: CacheKey): string { |
| 208 | if (this.compilerTypeOrGCC === 'win32-vc') { |
no test coverage detected