From a4ddfb6bda106cffeb87043e4f90dc19ec9b2e0b Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 20 Aug 2022 13:17:52 -0700 Subject: [PATCH] examples: make map-async compatible with self-hosted compiler Signed-off-by: Stephen Gutekanst --- examples/map-async/main.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/map-async/main.zig b/examples/map-async/main.zig index 73293d0f..abda48da 100644 --- a/examples/map-async/main.zig +++ b/examples/map-async/main.zig @@ -4,6 +4,9 @@ const gpu = @import("gpu"); pub const App = @This(); +// TODO: without a field in this struct, stage3 seems to think `*App` is a `*const App` +unused: f32, + const workgroup_size = 64; const buffer_size = 1000;