We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zig stage2 built from HEAD fails with the following error:
~/HellOS$ ../zig/build/stage2/bin/zig build-exe hellos.zig --target-os freestanding --target-arch i386 --static --linker-script linker.ld Build 1 compile errors: hellos.zig:14:31: error: Expected '=' or ';', found Keyword_section export var multiboot align(4) section(".multiboot") = MultiBoot.{ ~~~~~~~
The text was updated successfully, but these errors were encountered:
This is ziglang/zig#1152
But in general, stage2 is far from complete. See this section from the readme:
Note: Stage 2 compiler is not complete. Beta users of Zig should use the Stage 1 compiler for now.
Sorry, something went wrong.
Ah, thanks, I don't know how I missed that part of Zig readme. So, close this bug?
Well, it's not wrong :) Maybe I'll leave it up as motivation to get stage2 far enough to be able to build this.
No branches or pull requests
Zig stage2 built from HEAD fails with the following error:
The text was updated successfully, but these errors were encountered: