zig icon indicating copy to clipboard operation
zig copied to clipboard

disable aarch64 backend in release tarballs

Open 190n opened this issue 6 months ago • 1 comments

Zig Version

0.14.0

Steps to Reproduce and Observed Output

Try compiling a simple program with the aarch64 backend. The compiler crashes:

const std = @import("std");

pub fn main() void {
    std.debug.print("hello world", .{});
}
$ zig build-exe -target aarch64-linux-gnu -fno-llvm hello.zig
zsh: bus error  zig build-exe -target aarch64-linux-gnu -fno-llvm hello.zig

Expected Output

error: compiler backend unavailable for the specified target

I understand this backend isn't expected to be usable at the moment; thus there should be a clear error indicating as such rather than letting it crash.

190n avatar May 19 '25 21:05 190n

We are likely going to just delete the unfinished and unmaintained backends (arm, aarch64, sparc64) as they will require a full rewrite anyway.

alexrp avatar May 27 '25 12:05 alexrp

#24322

alexrp avatar Jul 03 '25 07:07 alexrp