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
Ralf Jung
ba801a45db
make Miri work in rustc bootstrap stage 0
2020-05-09 13:19:23 +02:00
bors
4eaf05c4ec
Auto merge of #1404 - RalfJung:cargo-miri-host-detect, r=RalfJung
...
re-do cargo-miri host/target detection logic to match rustbuild
@oli-obk I think that's better than looking at `--emit` like we did before... what do you think?
2020-05-09 10:06:04 +00:00
Ralf Jung
024cc435f4
avoid env::var which requires valid UTF-8
2020-05-09 12:04:21 +02:00
Ralf Jung
20097be2fe
more comment
2020-05-09 11:54:45 +02:00
Ralf Jung
1ba42b9f55
Wording
...
Co-authored-by: Oliver Scherer <github35764891676564198441@oli-obk.de>
2020-05-09 11:53:24 +02:00
Ralf Jung
e73fc97f0b
cargo-miri: honor RUSTC env var
2020-05-09 11:52:26 +02:00
Ralf Jung
70f83a342c
re-do cargo-miri host/target detection logic to match rustbuild
2020-05-09 11:45:43 +02:00
bors
17f740e9d3
Auto merge of #1403 - RalfJung:rustup, r=RalfJung
...
bump Rust, fix for renames
2020-05-09 08:15:45 +00:00
Ralf Jung
379ac82a1c
bump Rust, fix for renames
2020-05-09 10:15:09 +02:00
bors
95dec9cee4
Auto merge of #1401 - RalfJung:cargo-miri-help, r=RalfJung
...
fix cargo-miri intercepting --help/--version arguments
With this, `cargo miri test -- -- --help` should behave as expected and pass `--help` to the test runner.
Thanks to @brson for the report.
2020-05-08 07:56:38 +00:00
Ralf Jung
914e483c89
fix cargo-miri intercepting --help/--version arguments
2020-05-08 09:55:28 +02:00