mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 07:08:59 +00:00
backend=auto (now the default if backend is omitted) means to let the compiler pick whatever backend it wants as the default. This is important for platforms where we don't yet have a self-hosted backend, such as loongarch64. Also purge a bunch of redundant target=native.
14 lines
632 B
Zig
14 lines
632 B
Zig
const std = @import("std");
|
|
|
|
// Eventually, this test should be made to work without libc by providing our
|
|
// own `__tls_get_addr` implementation. powerpcle-linux should be added to the
|
|
// target list here when that happens.
|
|
//
|
|
// https://github.com/ziglang/zig/issues/20625
|
|
pub fn main() void {}
|
|
|
|
// run
|
|
// backend=selfhosted,llvm
|
|
// target=arm-linux,armeb-linux,thumb-linux,thumbeb-linux,aarch64-linux,aarch64_be-linux,loongarch64-linux,mips-linux,mipsel-linux,mips64-linux,mips64el-linux,powerpc-linux,powerpc64-linux,powerpc64le-linux,riscv32-linux,riscv64-linux,s390x-linux,x86-linux,x86_64-linux
|
|
// pic=true
|
|
// link_libc=true
|