Vytautas Astrauskas
dec205757a
Fix compilation errors after rebase.
2020-05-25 00:28:01 +02:00
Vytautas Astrauskas
90590a399d
Small fixes.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
6ff0af3adf
Fix #1419 .
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
bd97074517
Small changes.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
babedc938e
Rewrite notify all test.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
8b5a9836be
Small changes.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
0838347d8f
Change the scheduling to execute timeout callbacks first.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
fdfd56b75b
Small changes.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
3da61fa427
Add comments explaining the declare_id macro.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
0bbac12751
Change how the time is handled.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
86eb262e8a
Cleanup Condvar tests.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
4a303b1309
Add a timeout test for conditional variables.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
6e774dec86
Move all run-pass synchronization primitive tests to sync.rs.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
044a068c67
Improve code readability and comments.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
d0de439ac8
Cleanup.
2020-05-25 00:02:54 +02:00
Vytautas Astrauskas
679245769b
Implement support for synchronization primitives.
2020-05-25 00:02:54 +02:00
bors
726373fcaa
Auto merge of #1432 - RalfJung:int-size, r=RalfJung
...
use helper method to compute size of int type
2020-05-24 17:21:20 +00:00
Ralf Jung
2c94ad08d8
use helper method to compute size of int type
2020-05-24 19:20:44 +02:00
bors
a6c28f0845
Auto merge of #1426 - RalfJung:no-wrapper, r=RalfJung
...
unset RUSTC_WRAPPER for xargo invocation
Fixes https://github.com/rust-lang/miri/issues/1421
@bjorn3 @oli-obk do you think that is a reasonable way to solve this issue?
2020-05-24 12:48:12 +00:00
Ralf Jung
cf7d88fd91
unset RUSTC_WRAPPER for xargo invocation
2020-05-24 14:46:38 +02:00
bors
de9a0ad51f
Auto merge of #1431 - RalfJung:rustup, r=RalfJung
...
rustup
Just making sure it all still works.
2020-05-24 12:01:05 +00:00
Ralf Jung
7a3ccb1b57
rustup
2020-05-24 14:00:32 +02:00
bors
2c0ab517bc
Auto merge of #1430 - RalfJung:unsize, r=RalfJung
...
add interesting unsizing test
@bors r+
2020-05-24 10:15:05 +00:00
Ralf Jung
e6ced2f9c4
add interesting unsizing test
2020-05-24 12:03:06 +02:00
bors
70d5caf17e
Auto merge of #1429 - RalfJung:discriminant_value, r=RalfJung
...
test discriminant_value intrinsic
Make sure this works for all types, not just enums/generators.
2020-05-23 14:31:37 +00:00
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