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