(libraries: SelectedLibraryVersion[])
| 172 | } |
| 173 | |
| 174 | override getIncludeArguments(libraries: SelectedLibraryVersion[]) { |
| 175 | return libraries.flatMap(selectedLib => { |
| 176 | const foundVersion = this.findLibVersion(selectedLib); |
| 177 | if (!foundVersion) return []; |
| 178 | // Zig should not have more than 1 path, but it's still an array so spread it |
| 179 | return [ |
| 180 | '--pkg-begin', |
| 181 | ...(foundVersion.name ? [foundVersion.name] : []), |
| 182 | ...foundVersion.path, |
| 183 | '--pkg-end', |
| 184 | ]; |
| 185 | }); |
| 186 | } |
| 187 | |
| 188 | override getIrOutputFilename(inputFilename: string): string { |
| 189 | return this.getOutputFilename(path.dirname(inputFilename), this.outputFilebase).replace('.s', '.ll'); |
nothing calls this directly
no test coverage detected