Skip to content

fix(plt-147): remove broken same-registry zerocopy patch - #34

Merged
takanorifukuyama merged 1 commit into
mainfrom
fix/plt-147-zerocopy-git-patch
Apr 14, 2026
Merged

fix(plt-147): remove broken same-registry zerocopy patch#34
takanorifukuyama merged 1 commit into
mainfrom
fix/plt-147-zerocopy-git-patch

Conversation

@takanorifukuyama

@takanorifukuyama takanorifukuyama commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes [patch.crates-io] zerocopy = { version = "=0.7.35" } which is invalid: Cargo requires patches to point to a different source (git/path), not the same crates.io registry.
  • This was causing both macOS and Windows builds to fail immediately with: patch for zerocopy points to the same source, but patches must point to different sources
  • The Windows AVX-512 zerocopy fix (E0658) is handled separately via GITHUB_ENV in the release workflow.

Root cause

[patch.crates-io] requires the replacement to come from a different source (e.g. git = "..." or path = "..."). Pointing to another crates.io version is not supported.

PLT-147


Open with Devin

[patch.crates-io] cannot point to the same registry source.
The Windows AVX-512 zerocopy fix is handled via RUSTFLAGS
set in the GitHub Actions workflow via GITHUB_ENV.
@linear

linear Bot commented Apr 14, 2026

Copy link
Copy Markdown

@takanorifukuyama
takanorifukuyama merged commit b3efc65 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 1 additional finding.

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