From e8b432aa5ebc5ecea5e52145ef0b3238aa460c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 15 Sep 2026 06:11:02 +0200 Subject: [PATCH] std.os.linux: fix comment syntax in microblaze and sh inline asm --- lib/std/os/linux/microblaze.zig | 4 ++-- lib/std/os/linux/sh.zig | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/std/os/linux/microblaze.zig b/lib/std/os/linux/microblaze.zig index ae450c1970eee1c5430633284a391ec0fcc41211..00c3028bbb94bf6fd32b14b443bbf61866dd739d 100644 --- a/lib/std/os/linux/microblaze.zig +++ b/lib/std/os/linux/microblaze.zig @@ -130,11 +130,11 @@ pub fn clone() callconv(.naked) u32 { \\ brki r14, 0x8 \\ beqi r3, 1f \\ - \\ // parent + \\ # parent \\ rtsd r15, 8 \\ nop \\ - \\ // child + \\ # child \\1: \\ ori r15, r0, 0 \\ ori r19, r0, 0 diff --git a/lib/std/os/linux/sh.zig b/lib/std/os/linux/sh.zig index bda7330343c722cdf211d6b17aa8edb250db48d3..ca5e8f9c8a13796a9f0d3be5de882a25d112d1a3 100644 --- a/lib/std/os/linux/sh.zig +++ b/lib/std/os/linux/sh.zig @@ -179,11 +179,11 @@ pub fn clone() callconv(.naked) u32 { \\ cmp/eq #0, r0 \\ bt 1f \\ - \\ // parent + \\ ! parent \\ rts \\ nop \\ - \\ // child + \\ ! child \\1: ); if (builtin.unwind_tables != .none or !builtin.strip_debug_info) asm volatile ( -- 2.54.0