glfw: support compiling with stage2 (-fno-stage1) #365
No reviewers
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach!365
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Helps hexops/mach#180
One strange thing I noticed is that -fno-stage1 sees 137 tests, while normally there are 138
Using
comptimebefore each call tothisDir()is a bit cumbersome. The cleaner solution, imo, is to define it like this:Unfortunately it doesn't work with -fno-stage1
I see, so it looks like a stage2 bug. Thanks for checking.
I wrote about it in #180 basically stage2 has problems recognising when to call something at comptime, and there are breaking changes in how translate-c translates string pointers
Very nice, thanks for doing this @PiergiorgioZagaria !