Closed charles-dyfis-net closed 5 months ago
Looks like this may be as simple as:
diff --git a/crates/jiter/src/simd_aarch64.rs b/crates/jiter/src/simd_aarch64.rs
index b4d08ff..59adb60 100644
--- a/crates/jiter/src/simd_aarch64.rs
+++ b/crates/jiter/src/simd_aarch64.rs
@@ -192,7 +192,7 @@ const CONTROL_16: SimdVecu8_16 = simd_const!([32u8; 16]);
const ASCII_MAX_16: SimdVecu8_16 = simd_const!([127u8; 16]);
#[inline(always)]
-pub fn decode_string_chunk(
+pub(crate) fn decode_string_chunk(
data: &[u8],
mut index: usize,
mut ascii_only: bool,
diff --git a/crates/jiter/src/string_decoder.rs b/crates/jiter/src/string_decoder.rs
index c2d9318..e196c60 100644
--- a/crates/jiter/src/string_decoder.rs
+++ b/crates/jiter/src/string_decoder.rs
@@ -145,7 +145,7 @@ fn decode_to_tape<'t, 'j>(
}
#[inline(always)]
-pub fn decode_chunk(
+pub(crate) fn decode_chunk(
data: &[u8],
index: usize,
ascii_only: bool,
...at least, that works for me.
The below is seen when building against rustc and cargo 1.73.0, as shipped in the 23.11 release of nixpkgs, on MacOS/aarch64: