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

Use ManuallyDrop instead of mem::forget in into_inner #25

Merged
merged 3 commits into from
Aug 9, 2021

Conversation

willtunnels
Copy link
Contributor

No description provided.

@willtunnels willtunnels force-pushed the refactor-mem-forget branch from bb558a9 to 8e62efa Compare August 8, 2021 00:24
@willtunnels willtunnels force-pushed the refactor-mem-forget branch from 8e62efa to a573ce9 Compare August 8, 2021 00:25
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
@Amanieu Amanieu merged commit cf4a287 into bluss:master Aug 9, 2021
@RalfJung
Copy link

Any chance of a release that includes this patch? We'd like to enable 'field retagging' in Miri by default (Cc rust-lang/miri#2528), which is needed to correctly reflect all the noalias attributes in the LLVM IR that we generate. Enabling that flag makes scopeguard 1.1.0 fail in Miri, but current master works fine.

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.

4 participants