hyd-dev
3dff1d4fcd
Don't use MIRI_DEFAULT_ARGS
to compile host crates
2021-04-09 00:57:59 +08:00
Ralf Jung
31bd77c7d8
bump miri dependencies
2021-04-04 11:48:20 +02:00
Ralf Jung
20e31dbdad
fix newer getrandom on Windows
2021-04-04 11:41:04 +02:00
hyd-dev
4eed610723
Remove #![feature(or_patterns)]
2021-03-23 16:58:00 +08:00
bstrie
4f899ce9ac
Replace deprecated collections::Bound
2021-03-17 18:34:44 -04:00
hyd-dev
7ec919daa4
Remove the macro and expand it manually
2021-03-17 22:27:57 +08:00
hyd-dev
3ee865461f
Revert "Don't duplicate check_abi()
"
...
This reverts commit 1c7d7471da
.
2021-03-17 21:51:07 +08:00
hyd-dev
bbc348539b
Unsupported foreign non-"C"/"system"-ABI function calls are not UB
2021-03-17 21:20:04 +08:00
hyd-dev
1c7d7471da
Don't duplicate check_abi()
2021-03-17 00:40:53 +08:00
bors
0788188c7b
Auto merge of #1743 - RalfJung:callee-checks, r=RalfJung
...
Check callee ABI when Miri calls closures
Fixes https://github.com/rust-lang/miri/issues/1741
2021-03-14 18:05:18 +00:00
Ralf Jung
15465a5881
don't ICE when we unwind despite panic=abort
2021-03-14 17:10:45 +01:00
Ralf Jung
d1dec9cd23
don't ICE when callee has the wrong number of arguments
2021-03-14 15:38:22 +01:00
Ralf Jung
893843fd45
when Miri calls a function ptr, make sure it has the right ABI
2021-03-14 15:30:37 +01:00
Ralf Jung
98f28ac9c8
rustup
2021-03-11 09:07:05 +01:00
Mara Bos
5bd5ea21ea
Remove unwrap_none as it won't be stabilized.
...
This upgrades to the latest rustc to be able to use try_insert()
instead.
2021-03-08 16:59:20 +01:00
Smittyvb
8d43d727f4
Check arg count
...
Co-authored-by: Ralf Jung <post@ralfj.de>
2021-03-05 07:16:50 -05:00
Smitty
26e97ec54f
Support breakpoint intrinsic
2021-03-04 07:48:28 -05:00
Ralf Jung
9f3dbad5d0
rename atomic_op_min_max -> atomic_op
2021-03-02 19:54:45 +01:00
bors
2670839e1a
Auto merge of #1721 - henryboisdequin:add-atomic-min-and-max, r=oli-obk
...
Add atomic min and max
Closes #1718
Previous attempt: #1653
TODO:
- [x] Merge `atomic_op` and `atomic_min_max` functions
- [x] Fix CI
**Note:** this PR also removes arbitrary trailing whitespace and generally formats the affected files
2021-03-02 14:52:32 +00:00
Henry Boisdequin
f8440d6c99
Add in atomic_{min,max}_x
intrinsics
...
Co-authored-by: Greg Bowyer <gbowyer@fastmail.co.uk>
2021-03-02 20:17:05 +05:30
Henry Boisdequin
7d1531f3c1
fmt data_race.rs and intrinsics.rs
2021-03-02 18:06:12 +05:30
Ralf Jung
48f7c8e2e6
fix reborrowing of tagged ZST references
2021-02-27 20:10:50 +01:00
Tomasz Miąsko
0eb341417c
rustup to e7c23ab933
2021-02-20 00:00:00 +00:00
Ralf Jung
2672baafe1
rustup
2021-02-18 10:34:32 +01:00
Mara Bos
c5bb29141e
Remove unnecessary format!()
in panic!()
.
2021-02-02 21:40:30 +01:00
Ralf Jung
052cd3bff7
rustup; remove some no-longer-needed Windows shims
2021-01-31 14:23:49 +01:00
bors
b38dc837f2
Auto merge of #1670 - unseddd:abi, r=RalfJung
...
Add ABI check for shims
Resolves #1631
2021-01-29 19:36:30 +00:00
Yuki Okushi
53612ece7c
Rustup for rust-lang/rust#79951
2021-01-28 22:31:22 +09:00
Nym Seddon
de4eea9d49
Add ABI check for shims
2021-01-27 22:32:25 +00:00
Thom Chiovoloni
d310620c11
Allow configuring the failure rate with -Zmiri-compare-exchange-weak-failure-rate
2021-01-26 00:13:54 -08:00
Thom Chiovoloni
d4b592ed17
Fail 80% of the time on weak cmpxchg, not 50%
2021-01-26 00:13:54 -08:00
Thom Chiovoloni
c678bd722e
Add random failures to compare_exchange_weak
2021-01-26 00:13:54 -08:00
Ralf Jung
13dd513254
adjust Windows shims for stdlib changes (Windows XP removal)
2021-01-25 10:43:48 +01:00
Ralf Jung
7d8f8c405f
macos: support aarch64 link names
2021-01-23 18:14:57 +01:00
Ralf Jung
848be1bf82
implement aarch64 hint 'intrinsic'
2021-01-23 18:11:01 +01:00
Corey Farwell
2aedbf0993
Add shim for libc::sysconf(libc::_SC_NPROCESSORS_CONF)
2021-01-22 09:16:27 -05:00
bors
903bfd82bf
Auto merge of #1681 - RalfJung:rustup, r=RalfJung
...
rustup; remove some intrinsics that are gone or moved to rustc
2021-01-18 12:02:12 +00:00
Ralf Jung
3d01ba11c0
rustup; remove some intrinsics that are gone or moved to rustc
2021-01-18 12:55:30 +01:00
hyd-dev
9949d9e417
Remove #![feature(const_generics)]
and #![allow(incomplete_features)]
2021-01-17 23:28:20 +08:00
Ralf Jung
4a035103dc
rustup; make tests pass again
2021-01-15 16:41:14 +01:00
Ralf Jung
8e15f3221e
rustup
2021-01-11 12:35:13 +01:00
Ralf Jung
65f5c27d61
remove intrinsic that is now implemented in the rustc side
2020-12-22 12:47:59 +01:00
JCTyblaidd
c13aabcb45
Tidy new_allocation
2020-12-13 11:14:41 +00:00
JCTyblaidd
e73579632b
Rework to work with machine hook.
2020-12-13 11:04:58 +00:00
JCTyblaidd
81c4eb7d74
Update src/data_race.rs
...
Co-authored-by: Ralf Jung <post@ralfj.de>
2020-12-13 11:04:58 +00:00
JCTyBlaidd
aaf8ca4c77
Fix review changes
2020-12-13 11:04:58 +00:00
JCTyBlaidd
296ba8b1c8
Fix bug with reporting wrong thread for races with reads & add thread ids to data-race tests
2020-12-13 11:04:58 +00:00
JCTyblaidd
c4ccd0b6a1
Fix nits
...
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-12-13 11:04:58 +00:00
JCTyBlaidd
1ded6d328a
Remove old FIXME
2020-12-13 11:04:58 +00:00
JCTyBlaidd
c45b1b16be
More tests, fix issue 1643 and detect races with allocation.
2020-12-13 11:04:58 +00:00