Skip to content

disable aarch64 backend in release tarballs #23933

Open
@190n

Description

@190n

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.

Metadata

Metadata

Assignees

Labels

arch-aarch6464-bit ARMarch-arm32-bit ARMarch-sparc32-bit and 64-bit SPARCerror messageThis issue points out an error message that is unhelpful and should be improved.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions