authorgravatar for rpkak@noreply.codeberg.orgrpkak <rpkak@noreply.codeberg.org> 2026-10-05 09:29:04+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-06 05:06:35+02:00
log4a2861fb851ffb55a11819d695c246c12a9b77ee
tree9ee24c08c007f08f79715d960c33a18f80c821d4
parente701a046195c1d937f0ac23a3ad5e4562e4c33ed
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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