pub fn muslRuntimeTriple( allocator: Allocator, arch: std.Target.Cpu.Arch, abi: std.Target.Abi, ) Allocator.Error![]const u8
Returns the subdirectory triple to be used to find the correct musl for the given arch and abi in an installation directory.
arch
abi
abi must be a musl ABI, i.e. .isMusl().
.isMusl()
allocator: Allocator
arch: std.Target.Cpu.Arch
abi: std.Target.Abi
200 201 202 203 204 205 206 207 208
pub fn muslRuntimeTriple( allocator: Allocator, arch: std.Target.Cpu.Arch, abi: std.Target.Abi, ) Allocator.Error![]const u8 { assert(abi.isMusl()); return linuxTripleSimple(allocator, arch, .linux, abi); }
Returns the subdirectory triple to be used to find the correct musl for the given
archandabiin an installation directory.abimust be a musl ABI, i.e..isMusl().