diff options
author | nickpdemarco <nickpdemarco@gmail.com> | 2023-10-11 14:43:05 -0400 |
---|---|---|
committer | nickpdemarco <nickpdemarco@gmail.com> | 2023-10-11 14:43:05 -0400 |
commit | 9cda199e40c920fcc9c53082b0dabb17d31a8b7f (patch) | |
tree | a4e9a03a9feea17376f5990e19c12818d32ec95e /lib/compilers/zigcxx.ts | |
parent | 55a2b1455f823026c78b9219f93799af00ef60ae (diff) | |
parent | 10796b3696cf1eef928de8c750b4d3350ee0c2db (diff) | |
download | compiler-explorer-9cda199e40c920fcc9c53082b0dabb17d31a8b7f.tar.gz compiler-explorer-9cda199e40c920fcc9c53082b0dabb17d31a8b7f.zip |
Merge main, resolve conflicts with vala
Diffstat (limited to 'lib/compilers/zigcxx.ts')
-rw-r--r-- | lib/compilers/zigcxx.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/compilers/zigcxx.ts b/lib/compilers/zigcxx.ts index 2d9b8ff3e..39a2e1621 100644 --- a/lib/compilers/zigcxx.ts +++ b/lib/compilers/zigcxx.ts @@ -28,6 +28,7 @@ import type {CompilerOutputOptions, ParseFiltersAndOutputOptions} from '../../ty import {asSafeVer} from '../utils.js'; import {ClangCompiler} from './clang.js'; +import {ZigCxxParser} from './argument-parsers.js'; export class ZigCXX extends ClangCompiler { private readonly needsForcedBinary: boolean; @@ -43,6 +44,10 @@ export class ZigCXX extends ClangCompiler { Semver.lt(asSafeVer(this.compiler.semver), '0.9.0', true); } + protected override getArgumentParser(): any { + return ZigCxxParser; + } + override preProcess(source: string, filters: CompilerOutputOptions): string { if (this.needsForcedBinary) { // note: zig versions > 0.6 don't emit asm, only binary works - https://github.com/ziglang/zig/issues/8153 |