Oliver Schneider
|
b10fc7a99f
|
make sure miri never switches over an invalid char value
|
2016-06-21 09:44:01 +02:00 |
|
Oliver Schneider
|
7a9272c8e1
|
no need to cast chars as u32 before casting to u64
|
2016-06-21 09:43:45 +02:00 |
|
Oliver Schneider
|
422e5edd28
|
error message improvements
|
2016-06-21 09:43:27 +02:00 |
|
Oliver Schneider
|
2dbd30fa51
|
implement char handling
|
2016-06-21 09:35:20 +02:00 |
|
Scott Olson
|
579628f56d
|
Merge pull request #28 from oli-obk/oflo
cleanup overflow binop code
|
2016-06-20 12:20:54 -05:00 |
|
Oliver Schneider
|
65de5dd2d0
|
simplify even more
|
2016-06-20 18:15:33 +02:00 |
|
Oliver Schneider
|
c7039dbb2b
|
simplify the masked rhs computation
|
2016-06-20 18:01:35 +02:00 |
|
Oliver Schneider
|
001ae69212
|
remove the bad rhs value error and panic instead. the typechecker prevent this
|
2016-06-20 17:52:36 +02:00 |
|
Oliver Schneider
|
a088f105aa
|
add a comment explaining the magic numbers
|
2016-06-20 17:52:14 +02:00 |
|
Oliver Schneider
|
3e3aeab0ed
|
implement bit masks as the compiler would translate them
|
2016-06-20 17:16:45 +02:00 |
|
Oliver Schneider
|
0821a15476
|
no need for EvalContext::eval_binop
|
2016-06-20 16:57:36 +02:00 |
|
Oliver Schneider
|
68469be89b
|
rename function cache member
|
2016-06-20 16:52:53 +02:00 |
|
Oliver Schneider
|
b9ac85d2a9
|
rustc does overflow checking for us, don't duplicate it.
|
2016-06-20 16:52:43 +02:00 |
|
Oliver Schneider
|
ed4af21605
|
fix master
|
2016-06-20 12:33:54 +02:00 |
|
Oliver Schneider
|
a1082b9b1a
|
Merge remote-tracking branch 'origin/master' into oflo
|
2016-06-20 12:33:09 +02:00 |
|
Oliver Schneider
|
e90ee1674a
|
fix comparing of function pointers
|
2016-06-20 10:35:15 +02:00 |
|
Oliver Schneider
|
d9776427b4
|
compiletest 2.0 uses json errors and doesn't depend on the output format anymore
|
2016-06-20 10:34:55 +02:00 |
|
Oliver Schneider
|
874d683bfa
|
improve method names and add documentation
|
2016-06-20 10:34:34 +02:00 |
|
Scott Olson
|
c9d808e85f
|
Remove stray backquote.
|
2016-06-19 00:15:03 -06:00 |
|
Scott Olson
|
eeb30dbc97
|
Try moving stuff into README header.
|
2016-06-19 00:08:43 -06:00 |
|
Scott Olson
|
48487f0cfc
|
Update README. Recommend rustup.
Also adds debugging info and contact info.
|
2016-06-19 00:04:11 -06:00 |
|
Scott Olson
|
f9c1cfa889
|
Remove now-useless #[miri_run] attributes.
Except for `ints.rs`, which is already handled by a pending pull request.
|
2016-06-17 22:52:30 -06:00 |
|
Scott Olson
|
c6ec4f4397
|
Reorganize benches.
|
2016-06-17 22:35:34 -06:00 |
|
Scott Olson
|
f4cf3f3636
|
Get benchmarks running again and factor out some parts in common with bin/miri.rs.
|
2016-06-17 21:35:37 -06:00 |
|
Scott Olson
|
35c76c6862
|
Ignore non-Rust files in run-pass.
Specifically, Vim's .<filename>.swp files were being run as tests.
|
2016-06-17 21:06:25 -06:00 |
|
Scott Olson
|
51edf7ede6
|
Rename max indentation constant for clarity.
|
2016-06-17 19:55:24 -06:00 |
|
Scott Olson
|
5ae4a0f2a9
|
Only indent trace logs.
|
2016-06-17 19:48:45 -06:00 |
|
Oliver Schneider
|
00eb198a82
|
implement fn -> unsafe fn pointer casts
|
2016-06-17 16:49:06 +02:00 |
|
Oliver Schneider
|
e3a2bf84e2
|
clippy
|
2016-06-17 16:03:11 +02:00 |
|
Oliver Schneider
|
4f48bef896
|
cfail test for std::env::args()
|
2016-06-17 15:48:15 +02:00 |
|
Oliver Schneider
|
6376ef4228
|
run the *compiled* run-pass tests on the host machine
|
2016-06-17 15:21:01 +02:00 |
|
Oliver Schneider
|
3ba4f6db04
|
remove code repetition and fix overflowing intrinsics
|
2016-06-17 15:16:41 +02:00 |
|
Oliver Schneider
|
58b4fac1ce
|
implement overflowing ops
|
2016-06-17 13:09:20 +02:00 |
|
Scott Olson
|
8db0bc0ce9
|
Merge pull request #27 from oli-obk/travis
create a miri-pass test that allows us to run miri for arbitrary targets
|
2016-06-16 14:03:41 -05:00 |
|
Oliver Schneider
|
60f2bb9c70
|
miri knows about --sysroot
|
2016-06-16 11:05:10 +02:00 |
|
Oliver Schneider
|
f01be91997
|
miri needs to be *built* with RUST_SYSROOT, not *run*
|
2016-06-16 11:00:46 +02:00 |
|
Oliver Schneider
|
2ed6f1c90a
|
caught by travis
|
2016-06-16 10:54:10 +02:00 |
|
Oliver Schneider
|
453a22a1e0
|
forward RUST_SYSROOT to miri test calls
|
2016-06-16 10:52:23 +02:00 |
|
Oliver Schneider
|
b6fca7355c
|
error out if a run-pass test fails
|
2016-06-16 10:50:23 +02:00 |
|
Oliver Schneider
|
af36ec959a
|
undo all travis script changes
|
2016-06-16 10:46:43 +02:00 |
|
Oliver Schneider
|
6a5f7378c3
|
travis didn't fail when compiling miri on nightly
|
2016-06-16 10:44:59 +02:00 |
|
Oliver Schneider
|
06d1780b85
|
fix travis
|
2016-06-16 10:42:04 +02:00 |
|
Oliver Schneider
|
9cceef0663
|
simplify target name extraction
|
2016-06-16 10:34:05 +02:00 |
|
Oliver Schneider
|
506f2deaf9
|
actually execute miri-pass tests
|
2016-06-16 10:30:47 +02:00 |
|
Oliver Schneider
|
82dc95c3ad
|
create a miri-pass test that allows us to run miri for arbitrary targets
|
2016-06-15 16:01:00 +02:00 |
|
Scott Olson
|
bac37e69d7
|
Merge branch 'wip'
|
2016-06-15 05:24:15 -06:00 |
|
Scott Olson
|
b24edd6a23
|
Merge pull request #24 from oli-obk/typesafe_fn_calls
Typesafe fn calls
|
2016-06-15 05:05:50 -06:00 |
|
Scott Olson
|
1146504184
|
Merge pull request #23 from oli-obk/miri_run_no_more
don't use `#[miri_run]` anymore, but execute the `main` function
|
2016-06-15 05:04:26 -06:00 |
|
Oliver Schneider
|
d82a79220b
|
use the logging framework instead of println!
|
2016-06-15 13:00:51 +02:00 |
|
Oliver Schneider
|
a55ac1fea8
|
pass arguments to start
|
2016-06-15 12:55:04 +02:00 |
|