]> git.lizzy.rs Git - rust.git/commit
Auto merge of #79893 - RalfJung:forget-windows, r=oli-obk
authorbors <bors@rust-lang.org>
Fri, 11 Dec 2020 07:54:35 +0000 (07:54 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 Dec 2020 07:54:35 +0000 (07:54 +0000)
commita2e29d67c26bdf8f278c98ee02d6cc77a279ed2e
tree6887e0e4ff6c805e0e0a7cf0f715e028d98bccc8
parent65d053ab74d8c8c9c502b678acc265f3d7e2ac49
parent594b451ccc65329a3f5e60f5b6690bcd0f7e9e7b
Auto merge of #79893 - RalfJung:forget-windows, r=oli-obk

Windows TLS: ManuallyDrop instead of mem::forget

The Windows TLS implementation still used `mem::forget` instead of `ManuallyDrop`, leading to the usual problem of "using" the `Box` when it should not be used any more.