We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 606f369 + 4b9a00e commit 200138cCopy full SHA for 200138c
README.md
@@ -808,3 +808,12 @@ func main() {
808
809
3. Run with `go run .` or make executable using `go build -o VimKill`
810
811
+## The zig stage1 way
812
+
813
+Credit: @tauoverpi
814
815
+```zig
816
+echo "pub fn main() !noreturn { unreachable; }" > vimkill.zig; zig build-exe vimkill.zig
817
+```
818
819
+This eventually [exhausts memory](https://github.com/ziglang/zig/issues/3461) on the machine which gives the OOM killer a chance to kill vim.
0 commit comments