Skip to content

Introduce derive(most_traits) and rename unstable linux cfg#3416

Merged
joshlf merged 1 commit into
mainfrom
G713b9f3eb6365b11e4e1777ee69e75a6fae758d3
Jun 8, 2026
Merged

Introduce derive(most_traits) and rename unstable linux cfg#3416
joshlf merged 1 commit into
mainfrom
G713b9f3eb6365b11e4e1777ee69e75a6fae758d3

Conversation

@jswrenn

@jswrenn jswrenn commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Renames zerocopy_unstable_derive_on_error to zerocopy_unstable_linux.

Adds unstable derive(most_traits) which attempts to quietly derive
all zerocopy traits, but excludes traits like Hash for which
zerocopy provides optimized derives.


Latest Update: v12 — Compare vs v11

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v8 v7 v6 v5 v4 v3 v2 v1 Base
v7 v6 v5 v4 v3 v2 v1 Base
v6 v5 v4 v3 v2 v1 Base
v5 v4 v3 v2 v1 Base
v4 v3 v2 v1 Base
v3 v2 v1 Base
v2 v1 Base
v1 Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git checkout -b pr-G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 FETCH_HEAD

Checkout

git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3

Stacked PRs enabled by GHerrit.

@codecov-commenter

codecov-commenter commented May 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (c97143c) to head (ddef931).
⚠️ Report is 11 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3416   +/-   ##
=======================================
  Coverage   91.85%   91.85%           
=======================================
  Files          20       20           
  Lines        6093     6093           
=======================================
  Hits         5597     5597           
  Misses        496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch from 9e20917 to 9a0d277 Compare May 27, 2026 11:13
@jswrenn jswrenn changed the title [wip] Introduce unstable derive(most_traits) [wip] Introduce unstable derive(most_traits), linux cfg. Jun 5, 2026
@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch 4 times, most recently from 80544d9 to c6e4060 Compare June 5, 2026 14:33
@jswrenn jswrenn changed the title [wip] Introduce unstable derive(most_traits), linux cfg. Introduce derive(most_traits) and rename unstable linux cfg Jun 5, 2026
@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch 2 times, most recently from 033adce to 61f280f Compare June 5, 2026 14:56
@jswrenn jswrenn requested a review from joshlf June 5, 2026 14:56
@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch from 61f280f to cb7c1ea Compare June 5, 2026 14:58
Comment thread zerocopy/src/lib.rs
@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch 2 times, most recently from f51b560 to ad16c20 Compare June 8, 2026 16:40
Renames `zerocopy_unstable_derive_on_error` to `zerocopy_unstable_linux`.

Adds unstable `derive(most_traits)` which attempts to quietly derive
all zerocopy traits, but excludes traits like `Hash` for which
zerocopy provides optimized derives.

gherrit-pr-id: G713b9f3eb6365b11e4e1777ee69e75a6fae758d3
@jswrenn jswrenn force-pushed the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch from ad16c20 to ddef931 Compare June 8, 2026 17:55
@jswrenn jswrenn enabled auto-merge June 8, 2026 18:13
@jswrenn jswrenn added this pull request to the merge queue Jun 8, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 8, 2026
@joshlf joshlf added this pull request to the merge queue Jun 8, 2026
Merged via the queue into main with commit 8d7db04 Jun 8, 2026
131 checks passed
@joshlf joshlf deleted the G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 branch June 8, 2026 19:50
@joshlf

joshlf commented Jun 9, 2026

Copy link
Copy Markdown
Member

@ojeda this is now published in 0.8.52.

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.

3 participants