Files
Boris Verkhovskiy dddaed4d13 Add Zig 0.11.0 (#5986)
Fixes #5351

I just copied the changes in #4358 and checked that it works locally
with

```sh
make debug EXTRA_ARGS='--language zig'
```

although I had to make the following changes to get it to work locally:

```diff
diff --git a/etc/config/zig.defaults.properties b/etc/config/zig.defaults.properties
index 008aa215..f4db084c 100644
--- a/etc/config/zig.defaults.properties
+++ b/etc/config/zig.defaults.properties
@@ -1,4 +1,4 @@
-compilers=/usr/bin/zig
+compilers=/opt/homebrew/bin/zig
 supportsBinary=true
 compilerType=zig
 objdumper=objdump
diff --git a/lib/compilers/zig.ts b/lib/compilers/zig.ts
index b0d55432..8e33767f 100644
--- a/lib/compilers/zig.ts
+++ b/lib/compilers/zig.ts
@@ -44,6 +44,7 @@ export class ZigCompiler extends BaseCompiler {
         super(info, env);
         this.compiler.supportsIntel = true;
         this.compiler.supportsIrView = true;
+        this.compiler.semver = '0.11.0';
 
         this.self_hosted_cli =
             this.compiler.semver === 'trunk' ||
```
2024-01-15 15:13:50 -06:00
..
2024-01-15 15:13:50 -06:00
2023-11-24 17:35:43 -06:00