Commit Graph

3003 Commits

Author SHA1 Message Date
Ralf Jung
6f5529a05b
Merge branch 'master' into patch-1 2019-06-20 20:47:27 +02:00
Ralf Jung
03eff5981b use org.rust-lang.miri folder on macOS 2019-06-20 19:45:39 +02:00
Ralf Jung
04fa38dd1b allow some inequality comparisons between pointers and integers 2019-06-20 16:38:55 +02:00
Ralf Jung
850a0d725f bump Rust, no changes needed 2019-06-20 15:35:06 +02:00
Oliver Scherer
e4b298bc4f
Merge pull request #776 from RalfJung/intrinsics
implement unchecked_{add,sub,mul} intrinsics
2019-06-17 11:12:12 +02:00
Ralf Jung
7ce36226e6 implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
Ralf Jung
cf748149ce test unchecked_rem 2019-06-16 11:10:33 +02:00
Ralf Jung
fc90124489 test exact_div UB detection 2019-06-16 11:10:33 +02:00
Ralf Jung
14c41925c6
Merge pull request #771 from kennethbgoodin/foreign_math_functions
Add more missing math functions
2019-06-16 11:10:26 +02:00
Ralf Jung
32a2cf046f
Merge branch 'master' into foreign_math_functions 2019-06-16 10:11:32 +02:00
Ralf Jung
7fc182caff
Merge pull request #775 from rust-lang/rustup
Rustup
2019-06-16 10:10:53 +02:00
Ralf Jung
d210ed7e12 bump rustc yet again 2019-06-16 09:49:27 +02:00
soc
a561f949ad Fix project dirs path
ProjectDirs::from("miri", "miri", "miri")

would get you `miri\miri` on Windows and `miri.miri.miri` on macOS.

I'm assuming here that your intention was to have only a `miri` directory on every OS.
2019-06-15 17:03:16 +02:00
Lzu Tao
fd0dccd4b1 Fix wrong lifetime of TyCtxt
Rustup rust-lang/rust#61817
2019-06-15 02:34:11 +07:00
Ralf Jung
4736692e67
Merge pull request #772 from RalfJung/sysroot
Fix sysroot handling
2019-06-14 14:28:37 +02:00
Ralf Jung
34b0922cec fix running a Miri that was built in bootstrap 2019-06-14 12:09:43 +02:00
Ralf Jung
ac2f6cbcde change sysroot check to print the output in case of an error 2019-06-14 11:16:39 +02:00
Oliver Scherer
4db0eea010
Fix indentation 2019-06-14 10:44:08 +02:00
Kenny Goodin
46b6a3fb7f Add more missing math functions
Add missing functions for atan2, cosh, sinh, and tan.
Also add f32 calls and tests for cbrt and hypot.
2019-06-13 22:28:22 -04:00
Ralf Jung
965160d4d7
Merge pull request #769 from RalfJung/rustup
Rustup
2019-06-13 09:50:54 +02:00
Ralf Jung
ad0c941547 rustup for lifetime refactorings 2019-06-13 09:18:03 +02:00
Ralf Jung
118274f300 README: mention to cargo update, mention rustup-toolchain-install-master 2019-06-13 08:43:35 +02:00
Ralf Jung
b597eabbc4
Merge pull request #763 from kennethbgoodin/fix_cmath_functions
[WIP] Implement cbrt and hypot function calls
2019-06-12 22:56:53 +02:00
Kenny Goodin
535914e3dc Implement cbrt and hypot function calls
Test cases are added to `tests/run-pass/intrinsics-math.rs`
2019-06-12 15:44:30 -04:00
Ralf Jung
6ceb716227
Merge pull request #701 from RalfJung/rand
test rand a bit more
2019-06-12 19:16:08 +02:00
Ralf Jung
f72f53c3ad bump rand so that the test passes 2019-06-12 18:30:05 +02:00
Ralf Jung
8f670e6b8b test rand a bit more 2019-06-12 18:19:50 +02:00
Ralf Jung
deb0ff46eb
Merge pull request #764 from RalfJung/minmax
implement min and max floating point intrinsics
2019-06-11 20:06:00 +02:00
Ralf Jung
6a0d092eaf bump Rust version 2019-06-11 19:42:01 +02:00
Ralf Jung
e2f114a5e0 test FMA a bit more 2019-06-11 19:41:43 +02:00
Ralf Jung
9c9a947bf4 test more enum-int-cast code paths 2019-06-11 19:41:43 +02:00
Ralf Jung
a37953752d use apfloat's FMA primitive 2019-06-11 19:41:43 +02:00
Ralf Jung
5e07ac335f implement min and max floating point intrinsics 2019-06-11 19:41:43 +02:00
Ralf Jung
6eab94a459 fix from to/from f32/f64 changes 2019-06-11 19:41:43 +02:00
Ralf Jung
48897d0760
Merge pull request #766 from RalfJung/sysroot
Sysroot consistency check
2019-06-11 10:23:39 +02:00
Ralf Jung
81debbd652
Merge branch 'master' into sysroot 2019-06-11 09:48:05 +02:00
Ralf Jung
f090362b76
Merge pull request #767 from RalfJung/rustup
fix for rustc rename mir -> body
2019-06-10 17:52:55 +02:00
Ralf Jung
446478cce2 fix for rustc rename mir -> body 2019-06-10 13:01:55 +02:00
Ralf Jung
0a9f9e0a0b factor out common code to determine miri binary 2019-06-09 19:47:09 +02:00
Ralf Jung
3b7ae049ee make sure that find_sysroot always sets MIRI_SYSROOT 2019-06-09 19:41:58 +02:00
Ralf Jung
5b91ecc066 fix comments 2019-06-09 17:12:41 +02:00
Ralf Jung
b0b082d4d8 do not handle MIRI_SYSROOT in the driver at all, rely fully on the --sysroot flag 2019-06-09 17:10:04 +02:00
Ralf Jung
244011a47f don't have both MIRI_SYSROOT and --sysroot 2019-06-09 15:43:22 +02:00
Ralf Jung
619f296463 explain why we always set a sysroot; make sure we error if both MIRI_SYSROOT and --sysroot are set 2019-06-09 14:31:05 +02:00
Ralf Jung
05b7e61977 remove outdated sysroot management 2019-06-09 14:10:42 +02:00
Ralf Jung
09f30cabf0 cargo miri: make sure we see the same sysroot for rustc and miri 2019-06-09 13:53:04 +02:00
Ralf Jung
2448e9d9db
Merge pull request #765 from RalfJung/rustup
rustup for EvalResult rename
2019-06-08 23:00:46 +02:00
Ralf Jung
d6bcfc58e3 rustup for EvalResult rename 2019-06-08 22:14:47 +02:00
Oliver Scherer
6ab014723a
Merge pull request #761 from ecstatic-morse/type-name
Add a test for the new `type_name` intrinsic.
2019-06-06 09:23:42 +02:00
Dylan MacKenzie
1ceb81b345 Use in-core implementation of type_name.
We bump `rust-version` to pick up the new impl from
https://github.com/rust-lang/rust/pull/61498 and add a test.
2019-06-05 22:36:53 -07:00