Ralf Jung
404c37999b
test discriminant_value intrinsic
2020-05-23 16:30:50 +02:00
bors
f7170a6529
Auto merge of #1374 - divergentdave:InvalidUndefBytes, r=RalfJung
...
InvalidUndefBytes: Update to match rustc changes
This is a companion PR for rust-lang/rust#71610 . This won't build yet, but we may need these changes in a future rustup.
2020-05-22 15:07:39 +00:00
Ralf Jung
58bc2185e1
rustup
2020-05-22 17:03:37 +02:00
David Cook
87a846f2d6
Update to match rustc changes
2020-05-22 17:03:25 +02:00
bors
2bb96ff561
Auto merge of #1428 - RalfJung:shim-arg-size-verify, r=RalfJung
...
verify the size of all shim arguments
2020-05-22 11:20:04 +00:00
Ralf Jung
fbb8c1526a
verify the size of all shim arguments
2020-05-22 11:56:18 +02:00
bors
427c8a6bb8
Auto merge of #1427 - RalfJung:rustup, r=RalfJung
...
rustup, and now we also need to install llvm-tools
Fixes fallout from https://github.com/rust-lang/rust/pull/72000
2020-05-22 08:30:35 +00:00
Ralf Jung
42a3e87838
rustup, and now we also need to install llvm-tools
2020-05-22 10:29:47 +02:00
bors
63ea143684
Auto merge of #1425 - RalfJung:rustup, r=RalfJung
...
rustup
Make sure that https://github.com/rust-lang/rust/pull/72425 helped
2020-05-22 07:01:21 +00:00
Ralf Jung
11d9409e82
rustup
2020-05-22 09:00:32 +02:00
bors
101df34bd6
Auto merge of #1424 - RalfJung:dlsym, r=RalfJung
...
prepare Dlsym system for dynamic symbols on Windows
This makes progress towards https://github.com/rust-lang/miri/issues/1059 .
2020-05-21 21:25:46 +00:00
Ralf Jung
402535ef86
also pretend GetSystemTimePreciseAsFileTime does not exist
2020-05-21 23:24:37 +02:00
Ralf Jung
526fae7541
GetProcAddress: basic validation for hModule argument
2020-05-21 23:06:31 +02:00
Ralf Jung
f09decb398
disentangle macos and linux dlsyms
2020-05-21 23:01:27 +02:00
Ralf Jung
08ddbd6ce0
prepare Dlsym system for dynamic symbols on Windows
2020-05-21 22:38:06 +02:00
bors
5d2423d320
Auto merge of #1423 - RalfJung:rustup, r=RalfJung
...
rustup
No changes needed -- but the next bump is blocked on https://github.com/rust-lang/rust/pull/72425 .
2020-05-21 14:34:05 +00:00
Ralf Jung
00a4421573
rustup
2020-05-21 15:53:26 +02:00
bors
af044209b0
Auto merge of #1420 - RalfJung:rustup, r=RalfJung
...
rustup
adjust test for changed allocation strategy
2020-05-19 22:02:05 +00:00
Ralf Jung
cc1a2119f6
adjust for changed allocation strategy
2020-05-20 00:00:35 +02:00
David Cook
0b060c7364
Review comments
2020-05-19 08:57:31 -05:00
David Cook
87c4694448
Add file sync shims
...
Adds implementations for fsync, fdatasync, and sync_file_range
2020-05-17 22:10:40 -05:00
bors
ac09e2f5cd
Auto merge of #1417 - RalfJung:libstd-rebuilds, r=RalfJung
...
fix libstd rebuilds due to RUSTFLAGS changes
Until recently we were always overwriting `RUSTFLAGS`, but we stopped doing that when moving to `MIRI_BE_RUSTC`. That introduced the regression in https://github.com/rust-lang/miri/issues/1410 . This fixes it.
Fixes https://github.com/rust-lang/miri/issues/1410
2020-05-17 09:32:47 +00:00
Ralf Jung
d90a087df9
fix libstd rebuilds due to RUSTFLAGS changes
2020-05-17 11:20:05 +02:00
bors
04eb4a92d0
Auto merge of #1415 - RalfJung:test-suite-filter, r=RalfJung
...
add test suite filter example to README and 'cargo miri --help'
Fixes https://github.com/rust-lang/miri/issues/1414
2020-05-17 08:13:13 +00:00
Ralf Jung
e22baedb1f
add test suite filter example to README and 'cargo miri --help'
2020-05-17 10:12:17 +02:00
bors
70b66aa007
Auto merge of #1413 - RalfJung:catch_with_exit_code, r=RalfJung
...
use new rustc_driver::catch_with_exit_code
2020-05-16 09:30:49 +00:00
Ralf Jung
e0f9081c5c
use new rustc_driver::catch_with_exit_code
2020-05-16 11:30:11 +02:00
bors
c54eab4a28
Auto merge of #1411 - RalfJung:ci, r=RalfJung
...
test Linux on macOS host
This accidentally got lost in https://github.com/rust-lang/miri/pull/1407
2020-05-14 17:22:04 +00:00
Ralf Jung
aaa3208432
test Linux on macOS host
2020-05-14 19:21:04 +02:00
bors
10419b3f2f
Auto merge of #1407 - RalfJung:appveyor, r=RalfJung
...
Share CI code between Travis and AppVeyor
2020-05-11 10:10:29 +00:00
Ralf Jung
131bdf88a7
always lock on CI
2020-05-11 11:19:26 +02:00
Ralf Jung
dec0bf15f6
Windows CI: rely on stable cargo
2020-05-11 10:59:01 +02:00
Ralf Jung
fdebecbb08
fix python interpreter on Windows
2020-05-11 10:58:27 +02:00
Ralf Jung
4a2e08f9b8
fix warnings for non-Unix builds
2020-05-11 10:58:27 +02:00
Ralf Jung
880e6847cf
play with bash on AppVeyor
...
Also consistently order and format our two CI files
2020-05-11 10:58:27 +02:00
bors
a85f061153
Auto merge of #1409 - RalfJung:compiletest-no-rustc, r=RalfJung
...
compiletest: no need to call rustc here
This also means we do not need the `RUSTC_TEST_SUITE` env var any more.
2020-05-11 08:56:53 +00:00
Ralf Jung
791ec8fef7
fmt
2020-05-11 10:54:21 +02:00
Ralf Jung
88fc42bbc8
compiletest: no need to call rustc here
2020-05-11 10:52:44 +02:00
bors
c9decd31fe
Auto merge of #1408 - RalfJung:comments, r=RalfJung
...
fix some comments, and run_compiler return type
2020-05-10 22:12:00 +00:00
Ralf Jung
938fe00f02
fix some comments, and run_compiler return type
2020-05-11 00:09:46 +02:00
bors
4c78479610
Auto merge of #1406 - RalfJung:miri-as-rustc, r=RalfJung
...
cargo-miri: never invoke rustc
Always go through 'MIRI_BE_RUSTC=1 miri' instead. This is based on @oli-obk's great idea to add a way to make Miri behave like rustc, which already helped us in https://github.com/rust-lang/miri/pull/1405 . Now it means in `cargo-miri` we run *all* crates through the same binary, and use the env var to determine if we compile or interpret them. This makes sure the compiler is consistent.
The `rustc` binary of the current toolchain is now not used at all, only the `miri` binary is. In particular this means we can kill the sysroot consistency check. :)
2020-05-10 17:00:14 +00:00
Ralf Jung
845b89c236
we do not need to set RUSTFLAGS for xargo any more as miri-as-rustc already uses these flags
2020-05-10 18:56:38 +02:00
Ralf Jung
12114c5137
fix dead link in README
2020-05-10 18:52:21 +02:00
Ralf Jung
81046fa5e5
cargo-miri: never invoke rustc, always go through 'MIRI_BE_RUSTC=1 miri' instead
2020-05-10 18:41:03 +02:00
bors
4cbe1f4184
Auto merge of #1402 - rust-lang:alloc_map_unlock, r=RalfJung
...
Update to rustc changes
changes needed once https://github.com/rust-lang/rust/pull/71508 gets merged
2020-05-10 08:32:58 +00:00
Ralf Jung
4f06197aff
rustup
2020-05-10 10:32:29 +02:00
Oliver Scherer
3fdab9c446
Update to rustc changes
2020-05-10 10:14:03 +02:00
bors
8a6396ffa5
Auto merge of #1405 - RalfJung:stage-0, r=RalfJung
...
make Miri work in rustc bootstrap stage 0
Fixes https://github.com/rust-lang/rust/issues/52856
2020-05-09 12:09:15 +00:00
Ralf Jung
e65d87b110
Typo
2020-05-09 14:08:58 +02:00
Ralf Jung
ac65350789
adjust default sysroot when being rustc
...
Also while at it, refactor how we pass the default Miri flags
2020-05-09 13:42:07 +02:00