authorgravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:29:04+02:00
committergravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:51:27+02:00
log8d47bbdbe032cb49aac829ba349669a63cc17943
tree15a7094f89ea17cb31be2e078bca1541f551e362
parent7c3e35d9eab57e06a3ead61e22621996cf9bee03
signature Signed by SSH key SHA256:A2g6ATENrgLKQcUdthsn72P0njmQxnHSimzwnyJsZzo

Revert "langref: runtime_shrExact_overflow does not work as expected on RISC-V"

This reverts commit 9f064dff477a100b95438c7842253dfb20224553.

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

doc/langref/runtime_shrExact_overflow.zig-3
......@@ -1,4 +1,3 @@
1const builtin = @import("builtin");
21const std = @import("std");
32
43pub fn main() void {
......@@ -6,8 +5,6 @@ pub fn main() void {
65 _ = &x;
76 const y = @shrExact(x, 2);
87 std.debug.print("value: {}\n", .{y});
9
10 if (builtin.cpu.arch.isRISCV() and builtin.zig_backend == .stage2_llvm) @panic("https://github.com/ziglang/zig/issues/24304");
118}
129
1310// exe=fail