Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated FromBytes::(mut_)slice_from items #1923

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Oct 16, 2024

These are causing PMEs in the presence of -C link-dead-code, which casues them to be monomorphized for Self = (), thus producing the problematic ZSTy DST [()].

Ref rust-lang/rust#131793
Fixes #1867

@jswrenn jswrenn requested a review from joshlf October 16, 2024 17:43
Copy link
Member

@joshlf joshlf left a comment

Choose a reason for hiding this comment

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

Can you also release the next version in this PR? But approved pending that.

@jswrenn jswrenn force-pushed the remove-deprecated-frombytes branch from 099bc04 to 29b54a1 Compare October 16, 2024 17:46
These are causing PMEs in the presence of `-C link-dead-code`,
which casues them to be monomorphized for `Self = ()`, thus
producing the problematic ZSTy DST `[()]`.

Also bumps version to 0.8.6.

Ref rust-lang/rust#131793
Fixes #1867
@jswrenn jswrenn force-pushed the remove-deprecated-frombytes branch from 29b54a1 to d501481 Compare October 16, 2024 17:47
@joshlf joshlf enabled auto-merge October 16, 2024 17:48
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.59%. Comparing base (c5fb5aa) to head (d501481).

Additional details and impacted files
@@            Coverage Diff             @@
##           v0.8.x    #1923      +/-   ##
==========================================
+ Coverage   87.41%   87.59%   +0.17%     
==========================================
  Files          16       16              
  Lines        6000     5988      -12     
==========================================
  Hits         5245     5245              
+ Misses        755      743      -12     

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

@joshlf joshlf disabled auto-merge October 16, 2024 18:10
@joshlf joshlf merged commit 0bee231 into v0.8.x Oct 16, 2024
83 of 87 checks passed
@joshlf joshlf deleted the remove-deprecated-frombytes branch October 16, 2024 18:10
@joshlf
Copy link
Member

joshlf commented Oct 16, 2024

Force-merged to work around obi1kenobi/cargo-semver-checks#971

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