From f1af9eb83619273cf299f4abc301c7ae6ae07907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Aug 2024 08:38:20 +0200 Subject: [PATCH] std.zig.system: Support qemu-xtensa in getExternalExecutor(). --- lib/std/zig/system.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/std/zig/system.zig b/lib/std/zig/system.zig index da25613fb4..92058fbf3b 100644 --- a/lib/std/zig/system.zig +++ b/lib/std/zig/system.zig @@ -86,7 +86,6 @@ pub fn getExternalExecutor( .arm => Executor{ .qemu = "qemu-arm" }, .armeb => Executor{ .qemu = "qemu-armeb" }, .hexagon => Executor{ .qemu = "qemu-hexagon" }, - .x86 => Executor{ .qemu = "qemu-i386" }, .m68k => Executor{ .qemu = "qemu-m68k" }, .mips => Executor{ .qemu = "qemu-mips" }, .mipsel => Executor{ .qemu = "qemu-mipsel" }, @@ -115,7 +114,9 @@ pub fn getExternalExecutor( "qemu-sparc", }, .sparc64 => Executor{ .qemu = "qemu-sparc64" }, + .x86 => Executor{ .qemu = "qemu-i386" }, .x86_64 => Executor{ .qemu = "qemu-x86_64" }, + .xtensa => Executor{ .qemu = "qemu-xtensa" }, else => return bad_result, }; }