authorgravatar for squeek502@hotmail.comRyan Liptak <squeek502@hotmail.com> 2026-07-07 17:43:04-07:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 12:21:43+02:00
log16894c484c316c110a843ee15514790cc589dbfa
treeb41d88f507aba46146baba3647dbbf2683aac99d
parent8d6eb13c725f409270fc34c104da4c206b70c376

doctest: Fix logic error when detecting target and host mismatch


1 files changed, 1 insertions(+), 1 deletions(-)

tools/doctest.zig+1-1
......@@ -225,7 +225,7 @@ fn printOutput(
225225 if (mem.startsWith(u8, triple, "wasm32") or
226226 mem.startsWith(u8, triple, "riscv64-linux") or
227227 (mem.startsWith(u8, triple, "x86_64-linux") and
228 builtin.os.tag != .linux or builtin.cpu.arch != .x86_64))
228 (builtin.os.tag != .linux or builtin.cpu.arch != .x86_64)))
229229 {
230230 // skip execution
231231 break :code_block;