bors
31792f141b
Auto merge of #2583 - RalfJung:rustup, r=oli-obk
...
initial josh subtree sync
This demonstrates what a josh-based rustup would look like with my patched josh. To create it I did
```
git fetch http://localhost:8000/rust-lang/rust.git:start=75dd959a3a40eb5b4574f8d2e23aa6efbeb33573[:prefix=src/tools/miri]:/src/tools/miri.git master
git merge FETCH_HEAD
./rustup-toolchain HEAD && ./miri fmt
git commit -am rustup
```
Unlike the [previous attempt](https://github.com/rust-lang/miri/pull/2554 ), this does not add a new root commit to the repo.
Once we merge this, we committed to using josh for subtree syncing, and in particular a version of josh that includes https://github.com/josh-project/josh/pull/961 (or something compatible).
2022-10-08 08:53:29 +00:00
ouz-a
187b76965a
Remove mir::CastKind::Misc
2022-10-06 15:32:41 +03:00
bjorn3
dae6a30d0b
Remove workaround for rustbuild bug
2022-10-05 13:55:13 +02:00
bjorn3
1d1827413f
Rustup to rustc 1.66.0-nightly ( 01af5040f
2022-10-04)
2022-10-05 13:27:00 +02:00
bjorn3
d264e2fa05
Sync from rust d8613f792c
2022-10-05 13:15:08 +02:00
Urgau
102a577bb3
Stabilize bench_black_box
2022-09-27 17:38:51 +02:00
bjorn3
a53b445816
Merge pull request #1284 from afonso360/windows-fix
...
Add Windows CI
2022-09-27 14:18:58 +02:00
Afonso Bordado
6909219a29
Prefix artifact names with cg_clif
...
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
2022-09-27 12:42:27 +01:00
Afonso Bordado
4edf14520a
Use target triple artifact names
2022-09-27 12:35:42 +01:00
Afonso Bordado
a83ec3b6a4
Ignore rand tests
2022-09-27 12:33:19 +01:00
bjorn3
93703a4f1b
Merge pull request #1283 from bjorn3/update_cranelift
...
Update to Cranelift 0.88.1
2022-09-27 11:49:43 +02:00
Afonso Bordado
e96badc97f
Disable some rand tests on MinGW
2022-09-27 10:39:24 +01:00
bjorn3
fb71d8abea
Update to Cranelift 0.88.1
...
This fixes a regression of Atomic*::compare_exchange on AArch64
2022-09-27 08:31:22 +00:00
Afonso Bordado
cd8becbc03
Disable some ABI tests on MinGW
2022-09-27 08:15:15 +01:00
Afonso Bordado
738dd2b70b
Windows CI Cache
2022-09-27 07:26:12 +01:00
Afonso Bordado
8072dec7a5
Drop abi cafe patch
2022-09-26 19:22:01 +01:00
Afonso Bordado
01d3e1a3ad
Disable failing windows CI tests
2022-09-26 19:21:37 +01:00
Afonso Bordado
1878ca61bc
Disable JIT Tests for windows
2022-09-26 19:21:37 +01:00
Afonso Bordado
481484c141
Windows MinGW & MSVC Matrix CI
2022-09-26 19:21:30 +01:00
Afonso Bordado
ba56e8f313
Remove MSVC Check
2022-09-26 19:21:26 +01:00
bjorn3
88522158b2
Re-enable structs abi-cafe test on AArch64
2022-09-26 16:21:57 +00:00
bjorn3
10a2b70231
Remove stabilized feature gate
2022-09-26 16:20:11 +00:00
bjorn3
f90bc3009a
Enable stack probing on x86_64
...
Cranelift now supports inline stack probes on x86_64
2022-09-26 16:20:11 +00:00
Afonso Bordado
0035f09c5a
Avoid masking shift amounts
...
Cranelift 0.87 now follows its own documentation regarding
shift amounts, and implicitly masks them if the arch requires it. [0]
[0]: 0508932174
2022-09-26 16:20:11 +00:00
bjorn3
72992c483c
Update to Cranelift 0.88.0
2022-09-26 16:20:11 +00:00
bjorn3
7dccb51fe3
Abi-checker got renamed to abi-cafe
2022-09-26 13:56:18 +02:00
bjorn3
27a1fd30d2
Merge branch 'rustup'
2022-09-25 15:02:13 +00:00
bjorn3
887ca1fd2a
Update rustc test suite failure list
2022-09-25 14:06:07 +00:00
bjorn3
322ff0ba05
Work around rustbuild bug
2022-09-25 14:05:01 +00:00
bjorn3
94d52158c6
Work around rust-lang/libc#2924
2022-09-25 13:40:43 +00:00
bjorn3
d422d50651
Pass --sysroot when building the new sysroot
...
To avoid accidentally loading the original libcore
2022-09-25 15:14:59 +02:00
bjorn3
f82016891a
Fix cpuid replacement shim
2022-09-25 14:58:33 +02:00
bjorn3
241eae76e2
Monomorphize ConstantKind::Unevaluated in mir_operand_get_const_val
2022-09-25 14:44:51 +02:00
bjorn3
5ed4377677
Fix ConstantKind::Ty codegen
2022-09-25 14:35:21 +02:00
bjorn3
b3d3ba9928
Rustup to rustc 1.66.0-nightly ( 3f83906b3
2022-09-24)
2022-09-25 14:11:30 +02:00
bjorn3
385003e4c1
Sync from rust 8e9c93df46
2022-09-25 13:55:23 +02:00
b-naber
7e250da20f
rename Unevaluated to UnevaluatedConst
2022-09-23 14:27:34 +02:00
b-naber
3c5882018f
introduce mir::Unevaluated
2022-09-22 12:35:28 +02:00
bors
6eeefe2ce6
Auto merge of #99806 - oli-obk:unconstrained_opaque_type, r=estebank
...
Allow patterns to constrain the hidden type of opaque types
fixes #96572
reverts a revert as original PR was a perf regression that was fixed by reverting it: https://github.com/rust-lang/rust/pull/99368#issuecomment-1186587864 )
TODO:
* check if https://github.com/rust-lang/rust/issues/99685 is avoided
2022-09-20 12:09:52 +00:00
bors
6214e085ed
Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnr
...
Use only ty::Unevaluated<'tcx, ()> in type system
r? `@lcnr`
2022-09-17 03:04:22 +00:00
Oli Scherer
93af5f5999
Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank""
...
This reverts commit 4a742a691e
.
2022-09-16 11:36:39 +00:00
b-naber
d7c77313cb
nits
2022-09-15 22:27:41 +02:00
bjorn3
d82b696594
Update for latests rustc test suite changes
2022-09-15 16:14:29 +00:00
bjorn3
b023e2f7d0
Fix bundled static libraries
2022-09-15 16:05:27 +00:00
bjorn3
879c86ff30
Implement dyn* support
2022-09-15 14:08:30 +00:00
bjorn3
f68742a03c
Rustup to rustc 1.65.0-nightly ( 750bd1a7f
2022-09-14)
2022-09-15 14:59:14 +02:00
bjorn3
75d24552aa
Sync from rust 00fcc82df2
2022-09-15 14:53:37 +02:00
bors
e4d2f94a83
Auto merge of #101212 - eholk:dyn-star, r=compiler-errors
...
Initial implementation of dyn*
This PR adds extremely basic and incomplete support for [dyn*](https://smallcultfollowing.com/babysteps//blog/2022/03/29/dyn-can-we-make-dyn-sized/ ). The goal is to get something in tree behind a flag to make collaboration easier, and also to make sure the implementation so far is not unreasonable. This PR does quite a few things:
* Introduce `dyn_star` feature flag
* Adds parsing for `dyn* Trait` types
* Defines `dyn* Trait` as a sized type
* Adds support for explicit casts, like `42usize as dyn* Debug`
* Including const evaluation of such casts
* Adds codegen for drop glue so things are cleaned up properly when a `dyn* Trait` object goes out of scope
* Adds codegen for method calls, at least for methods that take `&self`
Quite a bit is still missing, but this gives us a starting point. Note that this is never intended to become stable surface syntax for Rust, but rather `dyn*` is planned to be used as an implementation detail for async functions in dyn traits.
Joint work with `@nikomatsakis` and `@compiler-errors.`
r? `@bjorn3`
2022-09-14 18:10:51 +00:00
b-naber
a10dd1f340
address review again
2022-09-14 17:30:25 +02:00
Eric Holk
6d544a8a4c
Address code review comments
2022-09-13 14:50:12 -07:00