Introduce derive(most_traits) and rename unstable linux cfg#3416
Open
jswrenn wants to merge 1 commit into
Open
Introduce derive(most_traits) and rename unstable linux cfg#3416jswrenn wants to merge 1 commit into
derive(most_traits) and rename unstable linux cfg#3416jswrenn wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
9e20917 to
9a0d277
Compare
derive(most_traits)derive(most_traits), linux cfg.
80544d9 to
c6e4060
Compare
derive(most_traits), linux cfg.derive(most_traits) and rename unstable linux cfg
033adce to
61f280f
Compare
61f280f to
cb7c1ea
Compare
joshlf
approved these changes
Jun 5, 2026
|
|
||
| #[doc(hidden)] | ||
| #[cfg(all(any(feature = "derive", test), zerocopy_unstable_linux))] | ||
| pub use zerocopy_derive::most_traits; |
Member
There was a problem hiding this comment.
Nit: Trailing newline after this?
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
cb7c1ea to
f51b560
Compare
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.
Renames
zerocopy_unstable_derive_on_errortozerocopy_unstable_linux.Adds unstable
derive(most_traits)which attempts to quietly deriveall zerocopy traits, but excludes traits like
Hashfor whichzerocopy provides optimized derives.
derive(most_traits)and rename unstable linux cfg #3416Latest Update: v10 — Compare vs v9
📚 Full Patch History
Links show the diff between the row version and the column version.
⬇️ Download this PR
Branch
git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git checkout -b pr-G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 FETCH_HEADCheckout
git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git checkout FETCH_HEADCherry Pick
git fetch origin refs/heads/G713b9f3eb6365b11e4e1777ee69e75a6fae758d3 && git cherry-pick FETCH_HEADPull
Stacked PRs enabled by GHerrit.