-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
arch-aarch6464-bit ARM64-bit ARMbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Zig Version
0.15.0-dev.875+75d6d4c3f
Steps to Reproduce and Observed Behavior
// main.zig
pub fn main() void {}
Try to compile it to aarch64-windows
:
zig build-exe -target aarch64-windows main.zig --color off
This will output the following error:
error: <inline asm>:1:2: unrecognized instruction mnemonic
fninit
^
A bisect indicates that this regression has been caused by #24193. Probably by the changes to lib/std/start.zig which started to call fninit
.
Expected Behavior
Produce a valid aarch64-windows executable.
Metadata
Metadata
Assignees
Labels
arch-aarch6464-bit ARM64-bit ARMbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-windowsregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.