fix(plt-147): pin ahash=0.8.11 and ppv-lite86=0.2.20 to avoid zerocopy 0.8.x E0658 - #35
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
zerocopy 0.8.48(pulled in transitively viaahash 0.8.12andppv-lite86 0.2.21) includes AVX-512 SIMD imports (__m512ietc.) guarded by thestdarch_x86_avx512nightly feature. On stable Rust the compiler rejects these with E0658 even when the target does not support AVX-512, because zerocopy'sbuild.rsgates the code by Rust version (≥ 1.89.0), notcfg(target_feature).Dependency chains
Fix
Pin
ahash = "=0.8.11"andppv-lite86 = "=0.2.20". Both older versions depend onzerocopy ^0.7(not 0.8.x), eliminating the E0658 code path entirely.Closes PLT-147
🤖 Generated with Claude Code