Commit Graph

3518 Commits

Author SHA1 Message Date
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
bors
22d0546aed Auto merge of #1028 - RalfJung:place-apis, r=RalfJung
use Place API instead of Allocation API
2019-11-02 10:53:37 +00:00
Ralf Jung
ddb1fc9205 store scalars where appropriate 2019-11-02 11:50:21 +01:00
Ralf Jung
1e0b398cb6 Windows cmdline: avoid accessing allocations directly 2019-11-02 11:48:28 +01:00
bors
d4e4fe71e6 Auto merge of #1027 - RalfJung:typo, r=RalfJung
fix typo
2019-10-30 14:06:23 +00:00
Ralf Jung
90634121b3 fix typo 2019-10-30 15:05:44 +01:00
bors
8c09bfee2f Auto merge of #1026 - RalfJung:rustup, r=RalfJung
rustup for span in intrinsic emulation
2019-10-30 09:17:35 +00:00
Ralf Jung
15ae234a42 rustup for span in intrinsic emulation 2019-10-30 10:16:58 +01:00
Christian Poveda
06ef77bfef Check for usize to i64 overflows 2019-10-28 16:44:18 -05:00
bors
4dbc90b443 Auto merge of #1025 - mati865:deps, r=RalfJung
Bump dependencies
2019-10-28 11:12:03 +00:00
Mateusz Mikuła
b40351c53a Bump dependencies 2019-10-27 23:01:01 +01:00
Christian Poveda
122549fd09 Simplify read logic 2019-10-26 09:03:45 -05:00
Christian Poveda
d7967f6b05 Drop files explicitly when closing them 2019-10-26 08:54:02 -05:00
bors
d9ae028516 Auto merge of #1024 - RalfJung:rustup, r=RalfJung
rustup for projection interning
2019-10-26 07:33:58 +00:00
Ralf Jung
d8a3a1f09c rustup for projection interning 2019-10-26 09:33:24 +02:00
bors
9566803292 Auto merge of #1023 - RalfJung:align_to, r=RalfJung
test align_to example

Fixes https://github.com/rust-lang/miri/issues/873
2019-10-25 18:26:39 +00:00
Ralf Jung
459aea8f52 test align_to example 2019-10-25 20:26:01 +02:00
bors
ffb147657d Auto merge of #1021 - RalfJung:rustc-dev, r=RalfJung
Adjust for rustc-dev
2019-10-24 15:16:44 +00:00
Christian Poveda
260b463bb0 Clean file handling functions 2019-10-24 09:34:48 -05:00
Ralf Jung
39cdc35dd7 add back '-c cargo' 2019-10-24 15:44:35 +02:00
Ralf Jung
55e1251886 rustc-dev landed; adjust rust version 2019-10-24 13:12:26 +02:00
Ralf Jung
4872c5cbbe temporarily ignore cached rustup-toolchain-install-master 2019-10-24 13:12:01 +02:00
Ralf Jung
557836b83e adjust README for rustc-dev 2019-10-24 13:12:01 +02:00
Ralf Jung
930c797a83 bump rustc and adjust for rustc-dev component
(also sync AppVeyor with Travis: use stable cargo)
2019-10-24 13:12:01 +02:00
bors
1bf282ff09 Auto merge of #1020 - RalfJung:compiletest, r=RalfJung
compiletest-nightly should work again
2019-10-24 08:53:52 +00:00
Ralf Jung
1b96a822de compiletest-nightly should work again 2019-10-24 10:31:08 +02:00
bors
4b42579533 Auto merge of #1019 - RalfJung:rustup, r=RalfJung
rustup: more flexible write_bytes

avoids allocations and removes itertools dependency
2019-10-24 08:27:38 +00:00
Ralf Jung
c87f106cac update comments and some tweaks 2019-10-24 10:27:14 +02:00