aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/zig.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/zig.ts')
-rw-r--r--lib/compilers/zig.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/zig.ts b/lib/compilers/zig.ts
index 31dec86da..ef6298189 100644
--- a/lib/compilers/zig.ts
+++ b/lib/compilers/zig.ts
@@ -46,7 +46,7 @@ export class ZigCompiler extends BaseCompiler {
this.self_hosted_cli =
this.compiler.semver === 'trunk' ||
- (this.compiler.semver && Semver.gt(asSafeVer(this.compiler.semver), '0.6.0', true));
+ !!(this.compiler.semver && Semver.gt(asSafeVer(this.compiler.semver), '0.6.0', true));
if (this.self_hosted_cli) {
this.compiler.irArg = ['-femit-llvm-ir'];