x86_64: fix switch dispatch bug

Also closes #23902
This commit is contained in:
Jacob Young
2025-06-05 22:25:13 -04:00
committed by Andrew Kelley
parent f28ef7ee29
commit 37f763560b
6 changed files with 33 additions and 18 deletions

View File

@@ -10,7 +10,7 @@
comptime {
// This file should only be referenced when debug extensions are enabled.
std.debug.assert(@import("build_options").enable_debug_extensions);
std.debug.assert(@import("build_options").enable_debug_extensions and !@import("builtin").single_threaded);
}
zcu: *Zcu,