]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #69880 - RalfJung:miri-assert-error-sanity, r=oli-obk
authorMazdak Farrokhzad <twingoow@gmail.com>
Mon, 23 Mar 2020 03:26:05 +0000 (04:26 +0100)
committerGitHub <noreply@github.com>
Mon, 23 Mar 2020 03:26:05 +0000 (04:26 +0100)
commita2b469c4ccf3777294422c350c10012ca2e22e25
tree32af5e8fb5c4b344f57fe0c8efb9dc2e967e83e1
parent5ed9d7ebb662ad993e9f2e8c70575fb27cd45041
parent2ee2157e29b9cab1fc0ebd89246ba27f48fce3d9
Rollup merge of #69880 - RalfJung:miri-assert-error-sanity, r=oli-obk

miri engine: turn error sanity checks into assertions

We had these as debug assertions so far to make sure our test suite is clean, but really these are conditions that should never arise and also @eddyb told me to turn non-performance-critical debug assertions into full assertions so here we go. ;)

I propose that we do a check-only crater run to make sure this does not actually happen in practice.

r? @oli-obk