-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-plan9Plan 9 from Bell LabsPlan 9 from Bell Labs
Milestone
Description
Zig Version
0.15.0-dev.703+597dd328e
Steps to Reproduce and Observed Behavior
I'm totally newcomer to Zig (thus I'm sorry for the possible stupid question). Since I like 9front/plan9 as well, I tried to cross compile a simple "hello world" for plan9 with this command line:
zig build-exe hello.zig -O ReleaseSmall -fstrip -fsingle-threaded -target x86_64-plan9
What I got:
thread 179634 panic: store: [direct:11]
Unable to dump stack trace: debug info stripped
Aborted (core dumped)
It's quite possible I am doing something wrong here - though I would then expect some kind of "less harmful" outcome than "panic". But again, I can be wrong here.
My source was this:
const std = @import("std");
pub fn main() void {
std.debug.print("Hello!\n", .{});
}
Expected Behavior
An executable is created for Plan9 OS.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-plan9Plan 9 from Bell LabsPlan 9 from Bell Labs