The zig stage1 way

https://github.com/ziglang/zig/issues/3461
This commit is contained in:
Simon A. Nielsen Knights 2022-01-07 18:59:50 +00:00 committed by GitHub
parent 1b9a16e6e8
commit d97f16c0b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -794,3 +794,10 @@ func main() {
3. Run with `go run .` or make executable using `go build -o VimKill`
## The zig stage1 way
Credit: @tauoverpi
```zig
echo "pub fn main() !noreturn { unreachable; }" > vimkill.zig; zig build-exe vimkill.zig
```