]> git.lizzy.rs Git - rust.git/commit
Work on making validation test pass again
authorRalf Jung <post@ralfj.de>
Tue, 8 Aug 2017 00:40:18 +0000 (17:40 -0700)
committerRalf Jung <post@ralfj.de>
Wed, 9 Aug 2017 22:49:47 +0000 (15:49 -0700)
commit668491a89276a9b359b70d1ba44191bf1f1d4604
tree699bf365b104ab26bbe1c5320211c1fd2e731017
parent11f0aedc3dbff825f1450de59d8f3dc3ae5efc25
Work on making validation test pass again

Turns out that tracking write locks by their lifetime is not precise enough,
but for now, we don't have an alternative.  Also, we need to force_allocate
what we acquire or else the memory will not be in the right state.
src/librustc_mir/interpret/memory.rs
src/librustc_mir/interpret/validation.rs
tests/compile-fail/oom2.rs
tests/run-pass-fullmir/catch.rs [new file with mode: 0644]
tests/run-pass/catch.rs [deleted file]
tests/run-pass/packed_struct.rs