From 8d47bbdbe032cb49aac829ba349669a63cc17943 Mon Sep 17 00:00:00 2001 From: rpkak Date: Mon, 5 Oct 2026 09:29:04 +0200 Subject: [PATCH] Revert "langref: runtime_shrExact_overflow does not work as expected on RISC-V" This reverts commit 9f064dff477a100b95438c7842253dfb20224553. --- doc/langref/runtime_shrExact_overflow.zig | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/langref/runtime_shrExact_overflow.zig b/doc/langref/runtime_shrExact_overflow.zig index 1350e9da75d4e1dc0035066679288f8eb14c7127..cc7d7908fb7cf9ac49c3459217a208e422765704 100644 --- a/doc/langref/runtime_shrExact_overflow.zig +++ b/doc/langref/runtime_shrExact_overflow.zig @@ -1,4 +1,3 @@ -const builtin = @import("builtin"); const std = @import("std"); pub fn main() void { @@ -6,8 +5,6 @@ pub fn main() void { _ = &x; const y = @shrExact(x, 2); std.debug.print("value: {}\n", .{y}); - - if (builtin.cpu.arch.isRISCV() and builtin.zig_backend == .stage2_llvm) @panic("https://github.com/ziglang/zig/issues/24304"); } // exe=fail -- 2.54.0