Commit Graph

303456 Commits

Author SHA1 Message Date
Lukas Wirth
49116c6fdc Merge pull request #19197 from andylokandy/insta
feat: update insta inline snapshot when clicking 'Update Test' runnable
2025-02-24 13:11:45 +00:00
Lukas Wirth
a4bd32cf91 Merge pull request #19218 from Veykril/push-vqsronpuvrnx
Disable incremental on release builds
2025-02-24 13:08:20 +00:00
Lukas Wirth
d761f9b682 Vendor always-assert 2025-02-24 14:00:34 +01:00
Lukas Wirth
7bba76eccc Disable incremental on release builds 2025-02-24 13:52:46 +01:00
Ralf Jung
4303a14bdd slightly extend comment 2025-02-24 13:50:42 +01:00
Ralf Jung
b4bb011cbc add missing float non-determinism tests and skip some on i686-pc-windows-msvc that are internally implemented via f64 2025-02-24 13:44:32 +01:00
Laurențiu Nicola
af83f2fd37 Merge pull request #19217 from lnicola/event-name
Fix `event_name` check is workflows
2025-02-24 12:41:58 +00:00
Laurențiu Nicola
dac3460429 Merge pull request #19216 from lnicola/ubuntu-22.04
internal: Downgrade to ubuntu-22.04 for aarch64 and arm builds
2025-02-24 12:27:45 +00:00
Ralf Jung
61a25fd270 make sure we install the toolchain for the intended host target 2025-02-24 13:27:18 +01:00
Laurențiu Nicola
5397431162 Fix event_name check in workflows 2025-02-24 14:27:11 +02:00
Ralf Jung
561dce772f sanity-check for HOST_TARGET 2025-02-24 13:22:13 +01:00
Laurențiu Nicola
e2a773123f Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and arm-unknown-linux-gnueabihf builds 2025-02-24 14:11:12 +02:00
James Barford-Evans
014fe0b9c1 fix - only use simd_shuffle! on intrinsics that require it 2025-02-24 11:04:20 +00:00
James Barford-Evans
1d166d499e tidy up proposed Dockerfile & run.sh 2025-02-24 11:04:20 +00:00
James Barford-Evans
5c10dc38ab update clang to clang-19 2025-02-24 11:04:20 +00:00
James Barford-Evans
b95fc44d25 fix up yaml & re-generate 2025-02-24 11:04:20 +00:00
James Barford-Evans
2ab46242f0 remove print statment and correct target name 2025-02-24 11:04:20 +00:00
James Barford-Evans
bec322f990 fix test runner for armv7 2025-02-24 11:04:20 +00:00
James Barford-Evans
443d1cdbf0 fix non-working intrinsics 2025-02-24 11:04:20 +00:00
James Barford-Evans
f4974ae1ed ensure correct linker gets chosen 2025-02-24 11:04:20 +00:00
James Barford-Evans
95d5d61842 Update CI to facilitate big endian at some point 2025-02-24 11:04:20 +00:00
James Barford-Evans
7294081fda Update test runner to support big endian 2025-02-24 11:04:20 +00:00
James Barford-Evans
d12027810c Remove hand crafted intrinsics that are now generated 2025-02-24 11:04:20 +00:00
James Barford-Evans
3b93df83b2 Update YAML & generated files 2025-02-24 11:04:20 +00:00
James Barford-Evans
f64b610918 Update generator to facilitate big endian 2025-02-24 11:04:20 +00:00
Lukas Woodtli
264f2c6699 DWARF mixed versions with LTO on MIPS
On MIPS the DWARF version is stored in 2 bytes with the `.2byte`
assembler directive.
2025-02-24 11:58:38 +01:00
Guillaume Gomez
6b2f5cf43f Update browser-ui-test version to 0.20.3 2025-02-24 11:52:33 +01:00
bors
bb029a1d3f Auto merge of #137511 - jhpratt:rollup-07whsax, r=jhpratt
Rollup of 10 pull requests

Successful merges:

 - #136610 (Allow `IndexSlice` to be indexed by ranges.)
 - #136991 ([rustdoc] Add new setting to wrap source code lines when too long)
 - #137061 (Unstable `gen_future` Feature Tracking  )
 - #137393 (Stabilize `unbounded_shifts`)
 - #137482 (Windows: use existing wrappers in `File::open_native`)
 - #137484 (Fix documentation for unstable sort on slice)
 - #137491 (Tighten `str-to-string-128690.rs``CHECK{,-NOT}`s to make it less likely to incorrectly fail with symbol name mangling)
 - #137495 (Added into_value function to ControlFlow<T, T>)
 - #137501 (Move `impl` blocks out of `rustc_middle/src/mir/syntax.rs`)
 - #137505 (Add a span to `CompilerBuiltinsCannotCall`)

r? `@ghost`
`@rustbot` modify labels: rollup
2025-02-24 10:27:53 +00:00
David Wood
0bed12e02d hir_analysis: skip self type of host effect preds
Like trait predicates, the self type ought to be skipped here.
2025-02-24 10:19:16 +00:00
Jason Newcomb
0fa170621d fix: too_long_first_doc_paragraph suggests wrongly when first line too long (#14276)
Fixes #14274

changelog: [`too_long_first_doc_paragraph`]: fix wrong suggestion when
first line too long
2025-02-24 10:04:01 +00:00
David Wood
7bf6fc16f2 tests: add variance test for const traits
Added to demonstrate change in output in following commit. Many more
interesting tests change with different output, missing errors, new
errors, etc related to this but they all depend on feature flags and
are much more complex than this.
2025-02-24 09:51:05 +00:00
David Wood
92eb4450fa tests: use minicore more
minicore makes it much easier to add new language items to all of the
existing `no_core` tests.
2025-02-24 09:26:54 +00:00
klensy
cede9029fd cleanup few unused args 2025-02-24 12:19:52 +03:00
Robert Bastian
562880cfd9 Update string.rs
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
2025-02-24 10:02:55 +01:00
David Wood
21d41b09df trait_sel: resolve vars in host effects
In the standard library, the `Extend` impl for `Iterator` (specialised
with `TrustedLen`) has a parameter which is constrained by a projection
predicate. This projection predicate provides a value for an inference
variable but host effect evaluation wasn't resolving variables first.

Adding the extra resolve can the number of errors in some tests when they
gain host effect predicates, but this is not unexpected as calls to
`resolve_vars_if_possible` can cause more error tainting to happen.

Co-authored-by: Boxy <rust@boxyuwu.dev>
2025-02-24 08:52:29 +00:00
Mahmoud Mazouz
1ccdc06136 Remove speculation on cause of error
Co-authored-by: Jubilee <workingjubilee@gmail.com>
2025-02-24 09:50:46 +01:00
Laurențiu Nicola
6d9b9c1363 Merge pull request #19212 from lnicola/sync-from-rust
minor: sync from downstream
2025-02-24 08:45:06 +00:00
Laurențiu Nicola
a2bd5a5ed3 Update assist docs 2025-02-24 10:28:52 +02:00
Laurențiu Nicola
1375df2fba Format code 2025-02-24 10:28:46 +02:00
onur-ozkan
cf6dc742b7 add coverage for explicit stage fields
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-24 11:20:13 +03:00
onur-ozkan
37b18f8f47 add explicit stage fields to Config
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-02-24 11:17:19 +03:00
Laurențiu Nicola
df39a77534 Add rustc_hashes and bump the others 2025-02-24 10:10:51 +02:00
David Wood
a5615d3c62 codegen_llvm: avoid Deref impls w/ extern type
`rustc_codegen_llvm` relied on `Deref` impls where `Deref::Target` was
or contained an extern type - in my experimental implementation of
rust-lang/rfcs#3729, this isn't possible as the `Target` associated
type's `?Sized` bound cannot be relaxed backwards compatibly (unless we
come up with some way of doing this).

In later pull requests with the rust-lang/rfcs#3729 implementation,
breakage like this could only occur for nightly users relying on the
`extern_types` feature.

Upstreaming this to avoid needing to keep carrying this patch locally,
and I think it'll necessarily need to change eventually.
2025-02-24 08:08:55 +00:00
David Wood
5afa6a111b ssa/mono: deduplicate type_has_metadata
The implementation of the `type_has_metadata` function is duplicated in
`rustc_codegen_ssa` and `rustc_monomorphize`, so move this to
`rustc_middle`.
2025-02-24 08:08:23 +00:00
Ralf Jung
68543abb45 remove some unnecessary rustc_const_unstable 2025-02-24 08:54:53 +01:00
Trevor Gross
be4eb9a3aa Update compiler-builtins to 0.1.148
Includes `f16` symbols on MIPS [1], updates for `libm` [2], and
reapplies the patch that drops the `public_test_deps!` macro [3].

[1]: https://github.com/rust-lang/compiler-builtins/pull/762
[2]: https://github.com/rust-lang/compiler-builtins/pull/765
[3]: https://github.com/rust-lang/compiler-builtins/pull/766
2025-02-24 07:46:55 +00:00
Trevor Gross
fb5f804f52 Update compiler-builtins to 0.1.148
Includes `f16` symbols on MIPS [1], updates for `libm` [2], and
reapplies the patch that drops the `public_test_deps!` macro [3].

[1]: https://github.com/rust-lang/compiler-builtins/pull/762
[2]: https://github.com/rust-lang/compiler-builtins/pull/765
[3]: https://github.com/rust-lang/compiler-builtins/pull/766
2025-02-24 07:46:55 +00:00
David Wood
1ee134f10d feature: fix typo in attribute description
The force inlining attribute isn't is never used with `#![..]` attribute
syntax, only `#[..]` syntax.
2025-02-24 07:44:38 +00:00
github-actions[bot]
95a5ad5225 chore: release v0.1.148 2025-02-24 02:43:13 -05:00
Laurențiu Nicola
36e41b57e9 Merge from rust-lang/rust 2025-02-24 09:42:57 +02:00