mirror of
https://github.com/zoriya/mach-glfw.git
synced 2025-12-06 05:46:08 +00:00
all: clarify self-hosted compiler TODOs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user