From 8b6f31f44f83ea6f772da88d590017bd8228d916 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 11 Jul 2024 09:22:04 +0200 Subject: [PATCH] Refuse VLAs --- build.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig b/build.zig index d15afdc6..e356db41 100644 --- a/build.zig +++ b/build.zig @@ -216,6 +216,7 @@ pub fn build(b: *std.Build) !void { "-fno-strict-overflow", "-fwrapv", "-flax-vector-conversions", + "-Werror=vla", }; const allocator = heap.page_allocator;