Skip to content

fix(plt-147): pin ahash=0.8.11 and ppv-lite86=0.2.20 to avoid zerocopy 0.8.x E0658 - #35

Merged
takanorifukuyama merged 1 commit into
mainfrom
fix/plt-147-pin-ahash-ppv
Apr 14, 2026
Merged

fix(plt-147): pin ahash=0.8.11 and ppv-lite86=0.2.20 to avoid zerocopy 0.8.x E0658#35
takanorifukuyama merged 1 commit into
mainfrom
fix/plt-147-pin-ahash-ppv

Conversation

@takanorifukuyama

@takanorifukuyama takanorifukuyama commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Problem

zerocopy 0.8.48 (pulled in transitively via ahash 0.8.12 and ppv-lite86 0.2.21) includes AVX-512 SIMD imports (__m512i etc.) guarded by the stdarch_x86_avx512 nightly feature. On stable Rust the compiler rejects these with E0658 even when the target does not support AVX-512, because zerocopy's build.rs gates the code by Rust version (≥ 1.89.0), not cfg(target_feature).

Dependency chains

rusqlite 0.32 → hashlink 0.9.1 → hashbrown 0.14.5 → ahash 0.8.12 → zerocopy ^0.8 [simd]
rand_chacha → ppv-lite86 0.2.21 → zerocopy ^0.8 [simd]

Fix

Pin ahash = "=0.8.11" and ppv-lite86 = "=0.2.20". Both older versions depend on zerocopy ^0.7 (not 0.8.x), eliminating the E0658 code path entirely.

Closes PLT-147

🤖 Generated with Claude Code


Open with Devin

…y 0.8.x

zerocopy 0.8.x (pulled in by ahash 0.8.12 and ppv-lite86 0.2.21) uses
AVX-512 intrinsics guarded by the stdarch_x86_avx512 nightly feature.
On stable Rust the compiler rejects these with E0658 even when the target
does not support AVX-512. Pinning to older versions eliminates zerocopy
0.8.x entirely from the dependency tree.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@linear

linear Bot commented Apr 14, 2026

Copy link
Copy Markdown

@takanorifukuyama
takanorifukuyama merged commit 5430992 into main Apr 14, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant