Skip to content

Fails to compile with stage2 zig compiler #1

@cubranic

Description

@cubranic

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.{
                              ~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions