aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/zig.ts
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2022-12-28 11:42:14 -0600
committerGitHub <noreply@github.com>2022-12-28 11:42:14 -0600
commit749319f7912ff479d25d9afb1e751f4ea704b0e2 (patch)
tree6f1504440fcdaf033dc406d454bb00299b0d8fa6 /lib/compilers/zig.ts
parentb597095f6ee657e6b1fde4b02f9bb2f61457d225 (diff)
downloadcompiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.tar.gz
compiler-explorer-749319f7912ff479d25d9afb1e751f4ea704b0e2.zip
Slightly more controversial bumpings (#4503)gh-5552
- latest sentry, tar-stream, which, some yamljs versions - latest eslint-* stuff - latest webpack manifest - Applies all the automatic fixes for newer lint rules - Bump the webpack version applies new tslint stuff
Diffstat (limited to 'lib/compilers/zig.ts')
-rw-r--r--lib/compilers/zig.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/zig.ts b/lib/compilers/zig.ts
index eed8a4bce..4862e8c87 100644
--- a/lib/compilers/zig.ts
+++ b/lib/compilers/zig.ts
@@ -120,10 +120,10 @@ export class ZigCompiler extends BaseCompiler {
const outputDir = path.dirname(outputFilename);
options.push('--cache-dir', outputDir, '--name', name);
- if (!filters.binary) {
- options.push('-fno-emit-bin', '-femit-asm=' + desiredName);
- } else {
+ if (filters.binary) {
options.push('-femit-bin=' + desiredName);
+ } else {
+ options.push('-fno-emit-bin', '-femit-asm=' + desiredName);
}
return options;
}