diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-02-09 00:16:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-09 00:16:04 +0100 |
| commit | 970864453097c7e1a25c4b960afaca5674eb5f92 (patch) | |
| tree | c259167e2ba9a73b94a55f660e5819df7b152691 /src/liballoc/tests/string.rs | |
| parent | c3b4102e2fd252f4d087c0f7d3c7c30b907132dc (diff) | |
| parent | 81613ad7cf9889a59d0a7233af9e462715945a72 (diff) | |
| download | rust-970864453097c7e1a25c4b960afaca5674eb5f92.tar.gz rust-970864453097c7e1a25c4b960afaca5674eb5f92.zip | |
Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-Simulacrum
libcore, liballoc: disable tests in Miri I am going to run the libcore and liballoc unit test suites in Miri. Not all tests pass. This PR disables a whole bunch of tests when running in Miri, to get us to a baseline from which I can investigate failures. Cc @SimonSapin @alexcrichton
Diffstat (limited to 'src/liballoc/tests/string.rs')
| -rw-r--r-- | src/liballoc/tests/string.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/tests/string.rs b/src/liballoc/tests/string.rs index e5ce51a36ee..e6ca54c4088 100644 --- a/src/liballoc/tests/string.rs +++ b/src/liballoc/tests/string.rs @@ -1,3 +1,5 @@ +#![cfg(not(miri))] + use std::borrow::Cow; use std::collections::CollectionAllocErr::*; use std::mem::size_of; |
