]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #66662 - RalfJung:miri-test-liballoc, r=dtolnay
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 1 Dec 2019 03:49:21 +0000 (04:49 +0100)
committerGitHub <noreply@github.com>
Sun, 1 Dec 2019 03:49:21 +0000 (04:49 +0100)
commitcb43d82fd65774a6e7bca5c3cd78381d3496b357
tree20253ba70970ebebb2b7bf4993d1331d6d52fdd4
parent6110d3ebc8224929c8f426def15b9443ffb3258d
parenta2299799e6193799f4d2cb546e56589c5dd587aa
Rollup merge of #66662 - RalfJung:miri-test-liballoc, r=dtolnay

Miri: run panic-catching tests in liballoc

I also converted two tests from using `thread::spawn(...).join()` just for catching panics, to `catch_panic`, so that Miri can run them.
src/liballoc/tests/vec.rs