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

Forward compatibility fix for breakage due to a soundness fix in rustc #475

Merged
merged 1 commit into from
Aug 31, 2022
Merged

Forward compatibility fix for breakage due to a soundness fix in rustc #475

merged 1 commit into from
Aug 31, 2022

Conversation

oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Aug 31, 2022

In rust-lang/rust#95474 (comment) we are attempting to deploy a soundness bug fix for rare cases of impl Trait causing UB. While your crate does not use this unsoundly, it requires an additional annotation in order for rustc to be able to figure out that your case is actually sound.

This change was done by following the diagnostics emitted by the rustc that contains the bugfix.

@lukechu10
Copy link
Member

Thanks a lot! I am always impressed at how proactive the Rust community is!

@codecov
Copy link

codecov bot commented Aug 31, 2022

Codecov Report

Merging #475 (65be1bc) into master (4b2ef1c) will not change coverage.
The diff coverage is 50.00%.

@@           Coverage Diff           @@
##           master     #475   +/-   ##
=======================================
  Coverage   64.47%   64.47%           
=======================================
  Files          52       52           
  Lines        8400     8400           
=======================================
  Hits         5416     5416           
  Misses       2984     2984           
Impacted Files Coverage Δ
packages/sycamore/src/builder.rs 21.77% <50.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@lukechu10 lukechu10 merged commit 5de8f76 into sycamore-rs:master Aug 31, 2022
@oli-obk oli-obk deleted the soundness_fix branch August 31, 2022 09:55
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.

2 participants