std.zig.system: Support qemu-xtensa in getExternalExecutor().

This commit is contained in:
Alex Rønne Petersen 2024-08-13 08:38:20 +02:00
parent 8e75ade253
commit f1af9eb836
No known key found for this signature in database

View File

@ -86,7 +86,6 @@ pub fn getExternalExecutor(
.arm => Executor{ .qemu = "qemu-arm" }, .arm => Executor{ .qemu = "qemu-arm" },
.armeb => Executor{ .qemu = "qemu-armeb" }, .armeb => Executor{ .qemu = "qemu-armeb" },
.hexagon => Executor{ .qemu = "qemu-hexagon" }, .hexagon => Executor{ .qemu = "qemu-hexagon" },
.x86 => Executor{ .qemu = "qemu-i386" },
.m68k => Executor{ .qemu = "qemu-m68k" }, .m68k => Executor{ .qemu = "qemu-m68k" },
.mips => Executor{ .qemu = "qemu-mips" }, .mips => Executor{ .qemu = "qemu-mips" },
.mipsel => Executor{ .qemu = "qemu-mipsel" }, .mipsel => Executor{ .qemu = "qemu-mipsel" },
@ -115,7 +114,9 @@ pub fn getExternalExecutor(
"qemu-sparc", "qemu-sparc",
}, },
.sparc64 => Executor{ .qemu = "qemu-sparc64" }, .sparc64 => Executor{ .qemu = "qemu-sparc64" },
.x86 => Executor{ .qemu = "qemu-i386" },
.x86_64 => Executor{ .qemu = "qemu-x86_64" }, .x86_64 => Executor{ .qemu = "qemu-x86_64" },
.xtensa => Executor{ .qemu = "qemu-xtensa" },
else => return bad_result, else => return bad_result,
}; };
} }