From c39b28f9b39053a16e91fe7cdf53c169d8730808 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 20 Aug 2022 23:37:48 -0700 Subject: [PATCH] all: clarify self-hosted compiler TODOs Signed-off-by: Stephen Gutekanst --- src/c.zig | 2 +- src/native.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/c.zig b/src/c.zig index 30c00b6..ece61c9 100644 --- a/src/c.zig +++ b/src/c.zig @@ -4,7 +4,7 @@ pub const c = if (@import("builtin").zig_backend == .stage1) @cInclude("GLFW/glfw3.h"); }) else - // HACK: workaround https://github.com/ziglang/zig/issues/12483 + // TODO(self-hosted): HACK: workaround https://github.com/ziglang/zig/issues/12483 // // Extracted from a build using stage1 from zig-cache/ (`cimport.zig`) // Then find+replace `= ?fn` -> `= ?*const fn` diff --git a/src/native.zig b/src/native.zig index 731d1ef..fff86a1 100644 --- a/src/native.zig +++ b/src/native.zig @@ -57,7 +57,7 @@ pub fn Native(comptime options: BackendOptions) type { @cInclude("GLFW/glfw3native.h"); }) else - // HACK: workaround https://github.com/ziglang/zig/issues/12483 + // TODO(self-hosted): HACK: workaround https://github.com/ziglang/zig/issues/12483 // // Extracted from a build using stage1 from zig-cache/ (`cimport.zig`) // Then find+replace `= ?fn` -> `= ?*const fn`