Commit Graph

322412 Commits

Author SHA1 Message Date
Folkert de Vries bbc45547f3 Merge pull request #2079 from eduardosm/mips-tests
Fix MIPS tests
2026-04-15 10:04:09 +00:00
Eduardo Sánchez Muñoz 69aad1af38 Fix MIPS tests
Tests failed to build due to use of legacy const generics syntax, out-of-bounds immediates and incorrect name of const generics in `assert_instr`
2026-04-14 19:55:48 +02:00
Folkert de Vries 15c1e3479c Merge pull request #2080 from sayantn/sde-update
Update SDE to v10.8.0
2026-04-12 19:08:17 +00:00
sayantn 139f9648dd Update SDE to v10.8.0 2026-04-13 00:17:25 +05:30
Sayantan Chakraborty 0086450677 Merge pull request #2075 from heiher/loong64-tests-avoid-const-folding
loongarch: Avoid constant folding in tests to ensure SIMD coverage
2026-04-12 17:50:00 +00:00
WANG Rui c43636ea4b loongarch: Avoid constant folding in tests to ensure SIMD coverage
Use `black_box` on SIMD intrinsic inputs to prevent the compiler from
constant folding SIMD operations, ensuring the corresponding SIMD
instructions are actually emitted and covered by tests.
2026-04-11 23:10:36 +08:00
Sayantan Chakraborty 7bd98dd3c1 Merge pull request #2073 from folkertdev/more-miri-tests
Test `vld4` with miri
2026-04-11 12:51:16 +00:00
Folkert de Vries cc1e6d8f51 Merge pull request #2076 from eduardosm/Simd-new
Remove `simd_ty!` and `simd_m_ty!` macros
2026-04-10 21:18:21 +00:00
Eduardo Sánchez Muñoz 4103f7ddce Do not use a macro to define Simd::new 2026-04-10 20:42:25 +02:00
Eduardo Sánchez Muñoz 8d85d1def7 Do not use SimdM::new and remove simd_m_ty! 2026-04-10 20:12:46 +02:00
Folkert de Vries aedb8dfff4 Merge pull request #2074 from androm3da/hexagon-hvx-case-preserved
hexagon: Preserve original Q6 naming case for HVX intrinsics
2026-04-08 20:50:09 +00:00
Brian Cain f8879e326f hexagon: Preserve original Q6 naming case for HVX intrinsics 2026-04-08 09:54:47 -07:00
Folkert de Vries 5a44da6067 make vld4q portable 2026-04-08 13:53:59 +02:00
Amanieu d'Antras 3d93de5f0e Merge pull request #2068 from heiher/loong-clippy
loongarch: Remove unnecessary `transmute` calls
2026-04-07 13:16:58 +00:00
WANG Rui 548d790dd8 loongarch: Remove unnecessary transmute calls
This commit removes unnecessary `transmute` calls to resolve clippy
warnings.
2026-04-07 11:41:06 +08:00
Sayantan Chakraborty 0a4221d1c0 Merge pull request #2066 from folkertdev/basic-miri-roundtrip
Basic miri store/load roundtrip
2026-04-06 22:57:43 +00:00
Folkert de Vries 8e2069e76c run some aarch64 tests with miri on CI 2026-04-06 19:39:21 +02:00
Folkert de Vries 4b52401221 run test_vld3q tests with miri on CI 2026-04-06 19:39:20 +02:00
Folkert de Vries cb0d495dae support roundtrip of vst3q 2026-04-06 19:39:20 +02:00
Folkert de Vries 8f3850c74c check that store/load rountrip initializes all bytes 2026-04-06 19:39:20 +02:00
Folkert de Vries ebfdd898ca Merge pull request #2067 from rust-lang/rustc-pull
Rustc pull update
2026-04-06 17:22:54 +00:00
Folkert de Vries 598640b101 disable hexagon tests for now 2026-04-06 19:13:42 +02:00
Jakub Beránek 1276db5745 Fix rustc-pull CI workflow 2026-04-01 11:23:04 +02:00
The rustc-josh-sync Cronjob Bot 79e3df625d Merge ref 'e4fdb554ad2c' from rust-lang/rust
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: rust-lang/rust@e4fdb554ad
Filtered ref: rust-lang/stdarch@ae05da8bd6
Upstream diff: https://github.com/rust-lang/rust/compare/eda4fc7733ee89e484d7120cafbd80dcb2fce66e...e4fdb554ad2c0270473181438e338c42b5b30b0c

This merge was created using https://github.com/rust-lang/josh-sync.
2026-03-31 15:50:44 +00:00
The rustc-josh-sync Cronjob Bot 8e815f9ae1 Prepare for merging from rust-lang/rust
This updates the rust-version file to e4fdb554ad.
2026-03-31 15:48:28 +00:00
bors e4fdb554ad Auto merge of #154633 - tgross35:rollup-Yvmg0Vs, r=tgross35
Rollup of 9 pull requests

Successful merges:

 - rust-lang/rust#154582 (miri subtree update)
 - rust-lang/rust#142659 (compiler-builtins: Clean up features)
 - rust-lang/rust#153574 (Avoid ICE when param-env normalization leaves unresolved inference variables)
 - rust-lang/rust#153648 (Fix EII function aliases eliminated by LTO)
 - rust-lang/rust#153790 (Fix regression when dealing with generics/values with unresolved inference)
 - rust-lang/rust#154551 (Skip suggestions pointing to macro def for assert_eq)
 - rust-lang/rust#154574 (delete several `ui/consts` tests)
 - rust-lang/rust#154577 (Update `mir-opt` 64-bit panic-abort tests for `Alignment` rename)
 - rust-lang/rust#154579 (remove debug requirement from hooks)
2026-03-31 09:25:52 +00:00
Trevor Gross 4485c39fe8 Rollup merge of #154579 - jdonszelmann:remove-debug-hook, r=lcnr
remove debug requirement from hooks

This change seems useful regardless. It came out of the eager normalize in generalize PR.

r? @lcnr
2026-03-31 05:08:26 -04:00
Trevor Gross 44faca9d94 Rollup merge of #154577 - ferrocene:jyn/bless-mir-opt, r=jieyouxu
Update `mir-opt` 64-bit panic-abort tests for `Alignment` rename

These seem to have been missed when the PR originally merged.

cc https://github.com/rust-lang/rust/pull/154004, @GrigorenkoPV
2026-03-31 05:08:26 -04:00
Trevor Gross 66c7f9d9af Rollup merge of #154574 - cyrgani:less-const-tests, r=Kivooeo
delete several `ui/consts` tests

* `tests/ui/consts/const.rs`: meaningless
* `tests/ui/consts/const-bound.rs`: has nothing to do with const bounds or const at all (anymore?)
* `tests/ui/consts/const-enum-tuplestruct2.rs`, `tests/ui/consts/const-enum-tuple2.rs`, `tests/ui/consts/const-enum-tuple.rs`: duplicates of `tests/ui/consts/const-enum-tuplestruct.rs`
r? @Kivooeo
2026-03-31 05:08:25 -04:00
Trevor Gross 472c531d7a Rollup merge of #154551 - chenyukang:yukang-fix-146204-assert-ne-suggestion-span, r=JohnTitor
Skip suggestions pointing to macro def for assert_eq

Fixes rust-lang/rust#146204

It's better to suggest:
```console
help: consider borrowing here
 --> src/main.rs:3:16
  |
 3|      assert_ne!(&buf, b"----");
  |                 +
```
but i don't want to give a too heuristic but not general enough fix, let suppress them.
2026-03-31 05:08:25 -04:00
Trevor Gross 68d2666fc2 Rollup merge of #153790 - zedddie:transmutation-regression, r=jdonszelmann
Fix regression when dealing with generics/values with unresolved inference

Follow up for rust-lang/rust#151703, fixing regression caused in rollup rust-lang/rust#152825

Forgot to handle generics & unresolved inference variables (as in `get_safe_transmute_error_and_reason`) in my previous PR. This followup checks for them before trying to normalize.

I am not completely sure its right approach to have this check cloned but as `select_transmute_obligation_for_reporting` fn just chooses obligation and doesn't actually return an error, this check shouldn't be removed from `get_safe_transmute_error_and_reasnon`. If there is any better solution, let me kmow.

Fixes: rust-lang/rust#153755

r? @jdonszelmann
2026-03-31 05:08:24 -04:00
Trevor Gross 4b2378286c Rollup merge of #153648 - AsakuraMizu:fix-eii-lto-alias, r=jdonszelmann,bjorn3
Fix EII function aliases eliminated by LTO

Add EII function aliases to `llvm.compiler.used` so that LLVM's LTO passes do not eliminate them.

Fixes rust-lang/rust#153645

Tracking issue: https://github.com/rust-lang/rust/issues/125418
2026-03-31 05:08:24 -04:00
Trevor Gross 3479a1d553 Rollup merge of #153574 - TaKO8Ki:self-referential-param-env-normalization-ice, r=lcnr
Avoid ICE when param-env normalization leaves unresolved inference variables

Fixes rust-lang/rust#153354

Because the impl is already ill-formed, those variables are not fully constrained, so zfully_resolve` fails. We previously treated that as an immediate compiler bug with `span_bug!`, which caused an ICE on invalid input.
2026-03-31 05:08:23 -04:00
Trevor Gross e1d917a035 Rollup merge of #142659 - tgross35:builtins-features, r=Amanieu
compiler-builtins: Clean up features

Remove the `compiler-builtins` feature from default because it prevents
testing via the default `cargo test` command. It made more sense as a
default when `compiler-builtins` was a dependency that some crates added
via crates.io, but is no longer needed.

The `rustc-dep-of-std` feature is also removed since it doesn't do
anything beyond what the `compiler-builtins` feature already does.
2026-03-31 05:08:22 -04:00
Trevor Gross 8e4649022d Rollup merge of #154582 - RalfJung:miri, r=RalfJung
miri subtree update

Subtree update of `miri` to https://github.com/rust-lang/miri/commit/76621481ee89df1ba53dc32da539c0f31df202ef.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost
2026-03-31 05:08:22 -04:00
bors 37cfa179be Auto merge of #154053 - khyperia:generalize-unevaluated, r=BoxyUwU
Properly generalize unevaluated consts



- fixes https://github.com/rust-lang/rust/issues/153831
- fixes a `// FIXME(ogca)` (I am unaware of an issue for this) added in https://github.com/rust-lang/rust/pull/150823

r? @BoxyUwU
2026-03-31 05:35:09 +00:00
bors 08cd08fbef Auto merge of #154482 - weihanglo:update-cargo, r=weihanglo
Update cargo submodule



11 commits in e84cb639edfea2c42efd563b72a9be0cc5de6523..888f675344eb1cf2308fd53183e667bdd2c58e51
2026-03-21 01:27:07 +0000 to 2026-03-30 16:59:25 +0000
- chore: bump to curl-sys@0.4.87 (rust-lang/cargo#16808)
- fix(resolver): Better match rustc in error styling (rust-lang/cargo#16795)
- missing -Zjson-target-spec error: mention that this is a cargo flag (rust-lang/cargo#16793)
- Update changelog for 1.94.1 (rust-lang/cargo#16789)
- test(build): Make it easier to review `build.warnings` behavior (rust-lang/cargo#16788)
- test(build): Cover more behavior of `build.warnings` (rust-lang/cargo#16785)
- chore(deps): bump curl-sys from 0.4.83 to 0.4.86 (rust-lang/cargo#16786)
- Warn when installing with a non-default toolchain (rust-lang/cargo#16131)
- feat(cli): Add support for completing `--config` argument values with `native-completions` (rust-lang/cargo#16249)
- feat(cli): complete `--config` and `--color` before command (rust-lang/cargo#16780)
- chore(deps): bump rustls-webpki from 0.103.9 to 0.103.10 (rust-lang/cargo#16778)
2026-03-31 01:13:44 +00:00
Trevor Gross 59fe28d0ff compiler-builtins: Clean up features
Remove the `compiler-builtins` feature from default because it prevents
testing via the default `cargo test` command. It made more sense as a
default when `compiler-builtins` was a dependency that some crates added
via crates.io, but is no longer needed.

The `rustc-dep-of-std` feature is also removed since it doesn't do
anything beyond what the `compiler-builtins` feature already does.
2026-03-30 18:45:13 -04:00
Weihang Lo c575b7fe62 Update cargo submodule 2026-03-30 13:49:43 -04:00
yukang 6518de37d4 Skip suggestions pointing to extern macro def for assert_eq 2026-03-30 22:58:03 +08:00
Takayuki Maeda d29c489599 add self-referential param-env normalization regression
avoid ICE on invalid param-env normalization

remove 120033 crash test

fix comments

use rustc_no_implicit_bounds

set #![allow(incomplete_features)]
2026-03-30 22:50:31 +09:00
khyperia 75eeece98c Properly generalize unevaluated consts 2026-03-30 15:47:49 +02:00
Ralf Jung 79d00dbf25 update lockfile 2026-03-30 14:48:37 +02:00
Ralf Jung 38653775c3 Merge pull request #4912 from folkertdev/aarch64-pairwise-add
aarch64: add shims for pairwise widening/wrapping addition
2026-03-30 12:08:11 +00:00
Folkert de Vries 02611d8d3f aarch64: add shims for pairwise widening/wrapping addition 2026-03-30 13:45:04 +02:00
Jynn Nelson e61842d378 Update mir-opt 64-bit panic-abort tests for Alignment rename
These seem to have been missed when the PR originally merged.
2026-03-30 10:56:57 +00:00
bors cf7da0b727 Auto merge of #154573 - jhpratt:rollup-ABgmddY, r=jhpratt
Rollup of 4 pull requests

Successful merges:

 - rust-lang/rust#154548 (Add regression test for TransmuteFrom ICE with min_generic_const_args)
 - rust-lang/rust#154563 (Point at binop lhs and rhs when expression is multiline)
 - rust-lang/rust#154564 (Tweak wording of E0275 WF errors)
 - rust-lang/rust#154566 (loongarch: use "_mcount" as the default mcount symbol)
2026-03-30 10:54:25 +00:00
cyrgani bf42a53bf7 delete several ui/consts tests 2026-03-30 09:15:22 +00:00
Jacob Pratt 89eb3298db Rollup merge of #154566 - heiher:loong-mcount-sym, r=chenyukang
loongarch: use "_mcount" as the default mcount symbol

Set the `mcount` field to "_mcount" for all LoongArch targets to match Clang/GCC behavior [1]. This fixes linking failures when using `-Z instrument-mcount`, where the runtime expects "_mcount" instead of "mcount".

[1] https://github.com/llvm/llvm-project/blob/main/clang/lib/Basic/Targets/LoongArch.h#L60
2026-03-30 05:13:18 -04:00
Jacob Pratt 7275f7e2e3 Rollup merge of #154564 - estebank:tweak-wf-errors, r=Kivooeo
Tweak wording of E0275 WF errors

Modify the main error message to read better:

```
error[E0275]: overflow evaluating whether `&'a mut Bar` is well-formed
```
2026-03-30 05:13:18 -04:00