Commit Graph

5234 Commits

Author SHA1 Message Date
Smitty
26e97ec54f Support breakpoint intrinsic 2021-03-04 07:48:28 -05:00
bors
d6d0109de6 Auto merge of #1732 - RalfJung:atomic_op, r=RalfJung
rename atomic_op_min_max -> atomic_op

The corresponding enum is called `AtomicOp` so IMO this also makes more sense as the name for the function.
2021-03-03 08:06:15 +00: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
bors
904e66a7a6 Auto merge of #1730 - RalfJung:zulip, r=oli-obk
add date to Zulip notification subject

We sometimes have discussions in those threads; let's make sure we have a new thread for each new day (which likely means a new problem... or nobody got around to fixing things yet^^).
2021-03-02 11:08:27 +00:00
bors
debbe9e85c Auto merge of #1731 - RalfJung:ci, r=oli-obk
adjust CI test flags

`RUST_TEST_NOCAPTURE` seems to make no difference except for making compiletest output not use colors any more; `RUST_BACKTRACE` is already set by `compiletest.rs`.
2021-03-02 10:51:12 +00:00
Ralf Jung
47ec9b878e adjust CI test flags 2021-03-02 11:25:02 +01:00
bors
0fc9aee973 Auto merge of #1729 - RalfJung:rustup, r=RalfJung
rustup; fix tests for new MIR optimization

Somehow https://github.com/rust-lang/rust/pull/78360 manages to mask UB. This would make sense if there were loops or things like that, but there are not, so really this is just very confusing...
2021-03-02 10:11:02 +00:00
Ralf Jung
2902ad91de add date to Zulip notification subject 2021-03-02 11:09:06 +01:00
Ralf Jung
97e45e0699 make optimized-test-run a bit more like what cargo does 2021-03-02 11:04:35 +01:00
Ralf Jung
7acf80d2bb rustup; fix tests for new MIR optimization 2021-03-02 10:57:08 +01:00
bors
46a08b72ef Auto merge of #1728 - RalfJung:rustup, r=RalfJung
rustup

Let's see if that version still all works
2021-03-02 09:18:13 +00:00
Ralf Jung
df2d498a05 rustup 2021-03-02 10:16:44 +01:00
bors
39ebb079a8 Auto merge of #1726 - hyd-dev:stub-d, r=RalfJung
cargo-miri: create stub .d files

Thanks `@RalfJung` for the discovery: https://github.com/rust-lang/miri/issues/1724#issuecomment-787115693 ❤️
Fixes #1724.
2021-02-28 10:35:54 +00:00
hyd-dev
6d5ce21c92
Cleanup test-cargo-miri/run-test.py 2021-02-28 18:13:33 +08:00
hyd-dev
46af1890a5
Drop MIRIFLAGS from "no rebuild" test 2021-02-28 16:10:35 +08:00
hyd-dev
9c1342b152
Clarify that the "dep-info" is fake and add a newline 2021-02-28 15:57:49 +08:00
hyd-dev
49cd383537
Create stub .d files 2021-02-28 04:56:20 +08:00
bors
4ecb5a99e0 Auto merge of #1725 - RalfJung:zst-reborrow, r=RalfJung
fix reborrowing of tagged ZST references

`@SkiFire13` [pointed out](https://github.com/rust-lang/rust/pull/82554#issuecomment-787088712) that Miri fails to detect illegal use of empty slices. This PR fixes that. In so doing, it uncovers a flaw of Stacked Borrows: it is incompatible with how the formatting machinery uses `extern type`, so for now we skip reborrowing when we cannot determine the exact size of the pointee.
2021-02-27 19:11:05 +00:00
Ralf Jung
48f7c8e2e6 fix reborrowing of tagged ZST references 2021-02-27 20:10:50 +01:00
bors
74b771423a Auto merge of #1723 - RalfJung:cargo-miri, r=RalfJung
cargo-miri: avoid unnecessary rebuilds

Fixes https://github.com/rust-lang/miri/issues/1722
2021-02-27 12:08:05 +00:00
Ralf Jung
3e987e127c create more fake files for cdylibs and staticlibs 2021-02-27 13:07:40 +01:00
Ralf Jung
f85bb0fb09 test for unnecessary rebuilds in 'cargo miri run' 2021-02-27 12:24:58 +01:00
bors
e29f137941 Auto merge of #1720 - RalfJung:rustup, r=RalfJung
rustup

Prevent MIR optimizations from removing this read.
2021-02-23 08:24:35 +00:00
Ralf Jung
c003fd0157 rustup 2021-02-23 09:23:49 +01:00
bors
ea86335318 Auto merge of #1716 - tmiasko:rustup, r=RalfJung
rustup to e7c23ab933
2021-02-20 17:35:48 +00:00
Tomasz Miąsko
0eb341417c rustup to e7c23ab933 2021-02-20 00:00:00 +00:00
bors
277b59c0b3 Auto merge of #1715 - RalfJung:rustup, r=RalfJung
rustup
2021-02-18 09:35:06 +00:00
Ralf Jung
2672baafe1 rustup 2021-02-18 10:34:32 +01:00
bors
b84b3a051c Auto merge of #1714 - RalfJung:rustup, r=RalfJung
rustup

Fixes https://github.com/rust-lang/miri/issues/1711
2021-02-17 08:47:09 +00:00
Ralf Jung
a5a751e795 rustup 2021-02-17 09:37:21 +01:00
bors
776644c85f Auto merge of #1712 - RalfJung:rustup, r=RalfJung
Rustup

Fixes https://github.com/rust-lang/miri/issues/1706
Cc https://github.com/rust-lang/miri/issues/1711 for the temporarily disabled tests
2021-02-16 09:18:57 +00:00
Ralf Jung
4c867feeb6 add test by @eddyb 2021-02-16 10:18:31 +01:00
Ralf Jung
0b3dba8e70 rustup and temporarily disable broken tests 2021-02-16 09:55:33 +01:00
bors
b5b5df50ba Auto merge of #1710 - hyd-dev:crate-types, r=RalfJung
Patch `--extern` arguments in `phase_cargo_rustc` as well

Fixes #1705.
2021-02-15 14:01:18 +00:00
hyd-dev
1923044705
Add a cdylib-only crate test 2021-02-15 20:43:29 +08:00
hyd-dev
51c6f51c36
Use the issue-1567 dependency in the test 2021-02-15 20:43:28 +08:00
hyd-dev
eec5423aa7
Stop skipping cdylib 2021-02-15 20:43:27 +08:00
hyd-dev
c0eb13ba2a
Patch --extern arguments in phase_cargo_rustc as well 2021-02-15 20:43:27 +08:00
hyd-dev
56250ccbf2
Extract --extern filenames patching code to forward_patched_extern_arg()
Co-authored-by: Tristan Dannenberg <dtristan@hotmail.de>
2021-02-15 20:43:27 +08:00
bors
c3f7069a0f Auto merge of #1709 - hyd-dev:rlib, r=RalfJung
[cargo-miri] Don't skip `rlib` crates

Fixes #1691.
2021-02-14 12:29:15 +00:00
hyd-dev
0737de86f7
Revert the lock file version change 2021-02-14 19:09:22 +08:00
hyd-dev
304cd3e410
Make the test more consistent with other tests 2021-02-14 19:08:47 +08:00
hyd-dev
80112820fd
[cargo-miri] Don't skip rlib crates 2021-02-14 16:27:20 +08:00
bors
7ac8be8529 Auto merge of #1708 - RalfJung:issue-1567-test, r=RalfJung
add regression test for #1567

Adds a regression test for #1567.
2021-02-13 18:41:44 +00:00
Ralf Jung
b3757d0e51 add regression test for #1567 2021-02-13 19:41:01 +01:00
bors
e09dce0f43 Auto merge of #1703 - calebzulawski:master, r=RalfJung
Remove non-power-of-two SIMD vectors

Closes https://github.com/rust-lang/rust/issues/81868.
2021-02-09 09:18:22 +00:00
Caleb Zulawski
053124aa52 Update rust-version 2021-02-08 23:11:33 -05:00