When building https://github.com/ZenithOSProject/zenith/tree/a6431b220ab6cda682495d482d7891a7e4ee6e74 with zig build -Dtarget=x86-freestanding -Dplatform=pc-multiboot, zig gets stuck in semantic analysis. The file it gets stuck on is kernel/arch/x86/Gdt.zig. I've tried a debug build of zig itself and I've copied the build-exe zig build is doing but both don't reveal any issues. It's been an hour and it's still not passing through the semantic analysis.
GitHub
The Zenith Kernel. Contribute to ZenithOSProject/zenith development by creating an account on GitHub.