From d5570d5a18850427c83f46d428c40791a728f5c1 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 15 Oct 2022 07:58:07 -0700 Subject: [PATCH] examples: document self-hosted compoiler bug Signed-off-by: Stephen Gutekanst --- examples/map-async/main.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/map-async/main.zig b/examples/map-async/main.zig index 56c78d08..55137073 100644 --- a/examples/map-async/main.zig +++ b/examples/map-async/main.zig @@ -4,8 +4,8 @@ const gpu = @import("gpu"); pub const App = @This(); -// TODO(self-hosted): without a field in this struct, stage3 seems to think `*App` is a `*const App` -unused: f32, +// TODO(self-hosted): https://github.com/ziglang/zig/issues/12275 +_unused: i32, const workgroup_size = 64; const buffer_size = 1000;