rust/src/libstd
bors 2974104276 Auto merge of #45002 - oli-obk:miri, r=eddyb
Validate miri against the HIR const evaluator

r? @eddyb

cc @alexcrichton @arielb1 @RalfJung

The interesting parts are the last few functions in `librustc_const_eval/eval.rs`

* We warn if miri produces an error while HIR const eval does not.
* We warn if miri produces a value that does not match the value produced by HIR const eval
* if miri succeeds and HIR const eval fails, nothing is emitted, but we still return the HIR error
* if both error, nothing is emitted and the HIR const eval error is returned

So there are no actual changes, except that miri is forced to produce the same values as the old const eval.

* This does **not** touch the const evaluator in trans at all. That will come in a future PR.
* This does **not** cause any code to compile that didn't compile before. That will also come in the future

It would be great if someone could start a crater run if travis passes
2017-12-14 15:37:39 +00:00
..
collections Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
ffi Update miri to rustc changes 2017-12-06 09:25:29 +01:00
io Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
net Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
os Update miri to rustc changes 2017-12-06 09:25:29 +01:00
prelude Move unused-extern-crate to late pass 2017-08-27 19:02:24 +09:00
rand Update miri to rustc changes 2017-12-06 09:25:29 +01:00
sync Update miri to rustc changes 2017-12-06 09:25:29 +01:00
sys Merge remote-tracking branch 'origin/master' into miri 2017-12-11 10:01:29 +01:00
sys_common Merge remote-tracking branch 'origin/master' into miri 2017-12-11 10:01:29 +01:00
thread Update miri to rustc changes 2017-12-06 09:25:29 +01:00
time Auto merge of #44436 - MicroJoe:master, r=alexcrichton 2017-09-23 22:21:32 +00:00
ascii.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
build.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
Cargo.toml Update miri to rustc changes 2017-12-06 09:25:29 +01:00
env.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
error.rs Rename never_type_impls gate to never_type 2017-12-12 14:03:03 +08:00
f32.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
f64.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
fs.rs fs::{read, read_string, write}: add tracking issue number 2017-12-08 19:28:13 +01:00
heap.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
lib.rs Auto merge of #45837 - SimonSapin:file_read_write, r=dtolnay 2017-12-08 21:33:50 +00:00
macros.rs Rollup merge of #46416 - liigo:cfg-macro, r=steveklabnik 2017-12-07 23:59:00 +01:00
memchr.rs Fix inconsistent doc headings 2017-08-24 18:42:53 +02:00
num.rs Auto merge of #40706 - irfanhudda:doc-next-power-of-two, r=alexcrichton 2017-06-08 01:07:08 +00:00
panic.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
panicking.rs Update bootstrap compiler 2017-08-31 06:58:58 -07:00
path.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
primitive_docs.rs Rename never_type_impls gate to never_type 2017-12-12 14:03:03 +08:00
process.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00
rt.rs Update miri to rustc changes 2017-12-06 09:25:29 +01:00