diff --git a/lib/std/os/linux/tls.zig b/lib/std/os/linux/tls.zig index 82dc3bf75997..adb80c98da33 100644 --- a/lib/std/os/linux/tls.zig +++ b/lib/std/os/linux/tls.zig @@ -152,7 +152,7 @@ pub fn setThreadPointer(addr: usize) void { const rc = linux.syscall1(.set_tls, addr); assert(rc == 0); }, - .riscv64 => { + .riscv32, .riscv64 => { asm volatile ( \\ mv tp, %[addr] :