all: clarify self-hosted compiler TODOs

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-08-20 23:37:48 -07:00
parent 569dd4b8d9
commit c39b28f9b3
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ pub const c = if (@import("builtin").zig_backend == .stage1)
@cInclude("GLFW/glfw3.h"); @cInclude("GLFW/glfw3.h");
}) })
else 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`) // Extracted from a build using stage1 from zig-cache/ (`cimport.zig`)
// Then find+replace `= ?fn` -> `= ?*const fn` // Then find+replace `= ?fn` -> `= ?*const fn`

View file

@ -57,7 +57,7 @@ pub fn Native(comptime options: BackendOptions) type {
@cInclude("GLFW/glfw3native.h"); @cInclude("GLFW/glfw3native.h");
}) })
else 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`) // Extracted from a build using stage1 from zig-cache/ (`cimport.zig`)
// Then find+replace `= ?fn` -> `= ?*const fn` // Then find+replace `= ?fn` -> `= ?*const fn`