Commit Graph

5373 Commits

Author SHA1 Message Date
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
Caleb Zulawski
dd81fb3f10 Remove non-power-of-two SIMD vectors 2021-02-08 00:17:24 -05:00
bors
54bbbd13ac Auto merge of #1701 - m-ou-se:non-fmt-panic-lint, r=oli-obk
Update rust version and update tests.

This is a fix for https://github.com/rust-lang/rust/issues/81770
2021-02-05 09:59:15 +00:00
Mara Bos
7fc24442bd Update rust version.
- Allow new non_fmt_panic lint in test.
- Remove stabilized feature(wake_trait).
2021-02-05 10:08:05 +01:00
bors
4cf36f2850 Auto merge of #1700 - RalfJung:rustup, r=RalfJung
rustup

Cc https://github.com/rust-lang/rust/issues/81726
2021-02-03 22:38:19 +00:00
Ralf Jung
d309804395 rustup 2021-02-03 23:37:40 +01:00
bors
34e22a8024 Auto merge of #1699 - m-ou-se:panic-format, r=RalfJung
Remove unnecessary `format!()` in `panic!()`.

`panic!(format!(..))` will start giving a warning [soon](https://github.com/rust-lang/rust/pull/81645).
2021-02-02 21:57:26 +00:00
Mara Bos
c5bb29141e Remove unnecessary format!() in panic!(). 2021-02-02 21:40:30 +01:00
bors
39a7bd09f1 Auto merge of #1698 - RalfJung:rustup, r=RalfJung
rustup; remove some no-longer-needed Windows shims

libstd now calls these lock functions directly, and `GetModuleHandleW` isn't use either any more since https://github.com/rust-lang/rust/pull/81478.
2021-01-31 13:25:37 +00:00
Ralf Jung
052cd3bff7 rustup; remove some no-longer-needed Windows shims 2021-01-31 14:23:49 +01:00
bors
8d24b02414 Auto merge of #1697 - RalfJung:rustup, r=RalfJung
rustup

Cc https://github.com/rust-lang/rust/issues/81551
2021-01-31 12:16:31 +00:00
Ralf Jung
6f5a91f70a rustup 2021-01-31 13:12:25 +01:00