Files
nixpkgs/pkgs/by-name/fr/frawk/fix-prefetch-read-data.patch
2026-04-06 16:48:38 -07:00

14 lines
586 B
Diff

diff --git a/src/runtime/splitter/batch.rs b/src/runtime/splitter/batch.rs
index 9b1bc21..d7eeaa0 100644
--- a/src/runtime/splitter/batch.rs
+++ b/src/runtime/splitter/batch.rs
@@ -1137,7 +1137,7 @@ mod generic {
macro_rules! iterate {
($buf:expr) => {{
#[cfg(feature = "unstable")]
- std::intrinsics::prefetch_read_data($buf.offset(128), 3);
+ std::intrinsics::prefetch_read_data::<_, 3>($buf.offset(128));
let (s, mask, nl) = f(state, $buf);
state = s;
(mask, nl)