Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up"Location is not frozen long enough" in bytes crate #528
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks! I am afraid this code most certainly has a data race, see this thread on IRLO. But that's not what miri complains about here. This also transmutes an A simple fix is to use |
RalfJung
added
C-question
A-stacked-borrows
labels
Nov 17, 2018
This comment has been minimized.
This comment has been minimized.
|
Fixed by carllerche/bytes#233. |
RalfJung
closed this
Nov 17, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jrmuizel commentedNov 17, 2018
Here's a somewhat reduced version of the problem from the 'bytes' crate:
Running with Miri in the playground gives:
@RalfJung