Local changes to LZ4 0.14.0

The original file hashes remain frozen in UPSTREAM.json.

The vendored README's usage note also distinguishes the bounded Wasm64 SIMD helper from the upstream unsafe-free claim; its old examples and native results remain labelled as upstream reference material.

  • Allow the unused_features lint in the vendored crate. The canonical SDK injects feature(used_with_arg) into local producers, including this crate, which has no linker-retained statics. Upstream's other denied warnings and missing-documentation checks remain enabled. This changes no algorithm code.

  • Add block/simd_match.rs, a private common-prefix helper using exact bounded 16-byte comparisons only on Wasm64 with SIMD128. Scalar tails and other targets retain upstream matching behavior. The approach was informed by the MIT-licensed addmaple/lz4_flex_wasm_simd encoder at 8f0e78a91be7e7e76afd86eaa4aa97da3e389294.

  • In block/compress.rs, try the existing scalar word prefix inline before invoking the long-match helper. Hashing/search and final-literal boundaries remain unchanged. The encoder core retains forbid(unsafe_code); only the private bounded helper uses reviewed Wasm intrinsics.

  • Enable the compiler's simd_wasm64 gate for that target and document the selected safety boundary. Decoder, sink and fast-copy implementations remain byte-for-byte upstream.

The selected encoder passed actual Wasm block/oracle/adversarial and direct helper checks, staged measurements and matched complete RRT qualification. The dated round report records exact artifacts, measurements and recovery gates. Rejected decoder experiments are preserved as research; decoder and copy code remain upstream.