Aaron Hill
cf5b53e52f
Rustup for panic changes
...
This gets Miri working again, but doesn't actually implement unwinding
2019-11-12 19:52:15 -05:00
bors
86f473810a
Auto merge of #1047 - RalfJung:uprust, r=RalfJung
...
rustup
2019-11-11 20:26:37 +00:00
Ralf Jung
2c55a508e9
rustup
2019-11-11 21:25:57 +01:00
Christian Poveda
6e37f2f3e1
Cap count
2019-11-09 15:15:52 +01:00
Christian Poveda
10b93730d3
Fix merge conflicts
2019-11-09 10:42:45 +01:00
bors
8355437d5d
Auto merge of #1044 - RalfJung:uprust, r=RalfJung
...
rustup
2019-11-08 21:08:52 +00:00
Ralf Jung
37b1190def
rustup
2019-11-08 22:07:52 +01:00
bors
9316d90315
Auto merge of #1040 - RalfJung:rustup, r=RalfJung
...
rustup
2019-11-08 17:49:38 +00:00
bors
1fb857dcb0
Auto merge of #1043 - RalfJung:cache, r=RalfJung
...
Cache rustup-toolchain-install-master again
We temporarily disabled the cache just to get it updated.
2019-11-08 15:38:06 +00:00
Ralf Jung
9ca277f2e9
bump minimal xargo version so that it honors the lockfile
2019-11-08 16:36:57 +01:00
Ralf Jung
d518c38219
rust-docs should be gone from all caches now
2019-11-08 14:13:23 +01:00
Ralf Jung
1aeecb553a
Revert "temporarily ignore cached rustup-toolchain-install-master"
...
This reverts commit 4872c5cbbe
.
2019-11-08 14:12:54 +01:00
Ralf Jung
4c25cf0a87
fix into_iter usage
2019-11-08 12:43:26 +01:00
Ralf Jung
bcbc666493
let's see if newer rustc helps
2019-11-08 10:08:57 +01:00
Ralf Jung
a90ac3b0ec
disable num_cpus on Windows for now
2019-11-08 09:16:44 +01:00
Christian Poveda
4bbaa72dc9
Use TryFrom instead
2019-11-07 20:50:16 +01:00
Ralf Jung
428fc531d8
silence a lint that catches the bug statically
2019-11-07 09:44:00 +01:00
bors
5dc433a13d
Auto merge of #1039 - RalfJung:dyn-tests, r=RalfJung
...
More tests for dyn trait (in particular, unsized receivers)
So far we only tested them indirectly through `dyn FnOnce`; this also adds some self-contained tests from the rustc test suite.
2019-11-07 08:18:09 +00:00
Ralf Jung
57dec5c791
also test Box<self> receiver
2019-11-07 09:17:40 +01:00
Ralf Jung
b7a8ce1be0
move blosure tests to closures file; test Box<dyn> a bit more
2019-11-07 09:14:23 +01:00
Ralf Jung
04c12952ca
centralize and expand dyn-trait (method receiver) tests
2019-11-07 09:05:11 +01:00
Ralf Jung
c77b282695
rename call_drop_ tests to drop_
2019-11-07 08:56:11 +01:00
Ralf Jung
8b1630cb3b
tweak and slightly extend box-box-trait test
2019-11-07 08:55:59 +01:00
bors
0740a2040f
Auto merge of #1037 - JOE1994:master, r=RalfJung
...
error code E0080 is no longer printed with MIRI error message
Thanks to help from @bjorn3, @RalfJung, and @oli-obk on issue #1035 , I fixed the miri code so that error code **E0080** is no longer printed out for MIRI evaluation errors. I tested my code in my Linux machine as below.
![image](https://user-images.githubusercontent.com/10286488/68264744-e71e6c80-0017-11ea-9028-f83e19164ea2.png )
Remaining concern is whether the variable name `new_tcx` which I used is misleading or not.
Fixes https://github.com/rust-lang/miri/issues/1035
2019-11-06 13:39:22 +00:00
YOUNGSUK KIM
e5675ab0fc
follow-up to review
2019-11-06 08:25:00 -05:00
bors
4ddc37df7a
Auto merge of #1031 - RalfJung:ptr-offset, r=RalfJung
...
Refactor ptr_offset_inbounds
I finally found a way to write this using basically just `check_ptr_access` while handling all cases (integers and pointers, offset 0 or not) correctly. This changes behavior for NULL ptrs, but I think the change is for the better.
Depends on https://github.com/rust-lang/rust/pull/66081 .
2019-11-06 09:51:32 +00:00
Ralf Jung
8b0c14f9f6
ptr_offset: handle negative offsets
2019-11-06 10:51:06 +01:00
Ralf Jung
b2a2f4dd15
rustup
2019-11-06 09:25:02 +01:00
Ralf Jung
4b9a7d8cff
fix error message details
2019-11-06 09:24:26 +01:00
Ralf Jung
1f8cb476ea
fix test erorr msg
2019-11-06 09:24:26 +01:00
Ralf Jung
9eb4e00f6f
refactor ptr_offset_inbounds: it can be reduced to check_ptr_access, after all!
2019-11-06 09:24:26 +01:00
Ralf Jung
c4f1d3f488
test that 0 cannot be offset-inbounds by 0
2019-11-06 09:24:26 +01:00
YOUNGSUK KIM
2661295cdf
error code E0080 is no longer printed with MIRI error message
2019-11-05 21:56:18 -05:00
Christian Poveda
f910ea135c
Avoid using as
cast
2019-11-05 16:47:24 -05:00
bors
61fd7e3093
Auto merge of #1032 - RalfJung:offset-from, r=RalfJung
...
test offset_from
This currently fails and needs a rustc fix: https://github.com/rust-lang/rust/pull/66083
2019-11-05 19:18:22 +00:00
Ralf Jung
3847334e72
rustup
2019-11-05 20:17:45 +01:00
Ralf Jung
f4fb330c67
test offset_from
2019-11-05 20:17:35 +01:00
bors
9f0b99bae3
Auto merge of #1036 - RalfJung:stacked-borrows-test, r=RalfJung
...
add an interesting run-pass stacked borrows example
2019-11-05 10:05:59 +00:00
Ralf Jung
99282efc86
add an interesting run-pass stacked borrows example
2019-11-05 11:05:02 +01:00
Christian Poveda
56c5e53553
Handle host's usize
correctly
2019-11-04 09:38:21 -05:00
bors
f74054f0bf
Auto merge of #1030 - RalfJung:mir-opt-comment, r=RalfJung
...
update comment re: not using higher mir-opt-level
2019-11-04 10:18:27 +00:00
Ralf Jung
9b4ceec60e
update comment re: not using higher mir-opt-level
2019-11-04 11:17:40 +01:00
Christian Poveda
d0b4407b25
Fix casts for count
check
2019-11-03 10:04:00 -06:00
bors
727e77844e
Auto merge of #1029 - RalfJung:panic-if-uninhabited, r=RalfJung
...
calling panic_if_uninhabited is not actually UB
2019-11-03 14:40:15 +00:00
Ralf Jung
955a26fb08
calling panic_if_uninhabited is not actually UB
2019-11-03 15:39:03 +01:00
bors
4f7171585f
Auto merge of #961 - rust-lang:exact_div_reuse, r=RalfJung
...
Use the upstream `exact_div` implementation
introduced in https://github.com/rust-lang/rust/pull/63810
2019-11-03 09:16:55 +00:00
Ralf Jung
fcf0f886d4
adjust tests
2019-11-03 10:15:55 +01:00
Ralf Jung
5a5fa15382
style
2019-11-03 10:03:30 +01:00
Ralf Jung
47bfd84c98
rustup
2019-11-03 10:02:32 +01:00
Oliver Scherer
7a39460e24
Use the upstream exact_div
implementation
2019-11-03 09:34:48 +01:00