Commit Graph

303456 Commits

Author SHA1 Message Date
Shoyu Vanilla (Flint)
c4e8c34682 Merge pull request #20232 from ShoyuVanilla/issue-20225
fix: Normalize projection types before calculating memory maps
2025-07-11 19:32:53 +00:00
binarycat
507fd38a3f htmldocck: better error messages for negative raw directives 2025-07-11 13:56:18 -05:00
okaneco
3751e133bc slice: Mark rotate_left, rotate_right unstably const 2025-07-11 14:41:57 -04:00
Folkert de Vries
92c6a736ca Merge pull request #1867 from hkBst/fix-test-neon
tests: neon is arm
2025-07-11 18:41:47 +00:00
lolbinarycat
7803c25dea directives.md: build-aux-docs does not work with aux-crate 2025-07-11 13:39:39 -05:00
Josh Triplett
900aa00584 Update miri for change to random API 2025-07-11 11:13:47 -07:00
Marijn Schouten
30556edc57 tests: neon is arm 2025-07-11 17:57:11 +00:00
Folkert de Vries
800b5752ff Merge pull request #1865 from hkBst/connect5-clippy-fixes
connect5: clippy fixes
2025-07-11 17:50:14 +00:00
Matthias Krüger
324bc31c16 Rollup merge of #143770 - hkBst:build-helper-cleanup, r=Kobzol
build-helper: clippy fixes
2025-07-11 19:45:27 +02:00
Matthias Krüger
1d2aa4d8dd Rollup merge of #143769 - tmiasko:rm-backward-switch-int, r=lqd
Remove support for SwitchInt edge effects in backward dataflow

Those effects are untested and unused. Remove them along with the implementation of `BasicBlocks::switch_sources`.
2025-07-11 19:45:26 +02:00
Matthias Krüger
8c5f3e415a Rollup merge of #143767 - hkBst:cleanup-x, r=jieyouxu
Bump `src/tools/x` to Edition 2024 and some cleanups

- Some clippy fixes
- Bump `src/tools/x` to Edition 2024
2025-07-11 19:45:25 +02:00
Matthias Krüger
93caee661a Rollup merge of #143759 - fluiderson:rdttff, r=aDotInTheVoid
Fix typos in function names in the `target_feature` test

Seems like `test1` was copy-pasted but forgotten to be renamed after.
2025-07-11 19:45:25 +02:00
Matthias Krüger
287e6e7d4d Rollup merge of #143747 - Gelbpunkt:aarch64-musl-maintainer, r=jieyouxu
Add target maintainer information for aarch64-unknown-linux-musl

Mentioning ``@famfo`` so that they can review the documentation. We're both very invested in this target; I originally promoted it to tier 2 with host tools in rust-lang/rust#76420 back in 2020.
2025-07-11 19:45:24 +02:00
Matthias Krüger
b18064f2f2 Rollup merge of #143716 - workingjubilee:document-some-codegen-backend-stuff, r=bjorn3,fee1-dead
compiler: doc/comment some codegen-for-functions interfaces

An out-of-date comment gets updated and some underdocumented functions get documented.
2025-07-11 19:45:24 +02:00
Matthias Krüger
140fc184f2 Rollup merge of #143647 - ColtenOuO:master, r=ChrisDenton
Clarify and expand documentation for std::sys_common dependency structure

This PR makes a minor improvement to the module-level documentation of std::sys_common:

Replaces the lowercase “dag” with the more standard and explicit form “DAG (Directed Acyclic Graph)” for clarity.
2025-07-11 19:45:23 +02:00
Matthias Krüger
7f3204f34d Rollup merge of #143633 - dillona:noinline-assert, r=fee1-dead
fix: correct assertion to check for 'noinline' attribute presence before removal
2025-07-11 19:45:23 +02:00
Matthias Krüger
c8780fff6a Rollup merge of #143403 - GrigorenkoPV:attributes/traits, r=jdonszelmann
Port several trait/coherence-related attributes the new attribute system

Part of rust-lang/rust#131229

This ports:
- `#[const_trait]`
- `#[rustc_deny_explicit_impl]`
- `#[rustc_do_not_implement_via_object]`
- `#[rustc_coinductive]`
- `#[type_const]`
- `#[rustc_specialization_trait]`
- `#[rustc_unsafe_specialization_marker]`
- `#[marker]`
- `#[fundamental]`
- `#[rustc_paren_sugar]`
- `#[rustc_allow_incoherent_impl]`
- `#[rustc_coherence_is_core]`

This also changes `#[marker]` to error on duplicates instead of warning.
cc rust-lang/rust#142838, but I don't think it matters too much, since it's unstable.

r? ``@oli-obk``
2025-07-11 19:45:22 +02:00
relaxcn
1d1b97d514 fix false negative of expect_used 2025-07-12 01:44:55 +08:00
Josh Triplett
5e203851f7 random: Provide a Distribution<T> trait
This will let people make calls like random(1..=6), and allows for
future expansion to non-uniform distributions, as well as
floating-point.

For now, this is only implemented for `RangeFull`, to get the interface
in place. Subsequent commits will implement it for other range types.
2025-07-11 10:21:34 -07:00
Weihang Lo
2268e069c0 Update cargo 2025-07-11 13:01:45 -04:00
Marijn Schouten
beb1b7d1a8 connect5: clippy fixes 2025-07-11 16:54:07 +00:00
bit-aloo
d004abb4d3 remove format short command and push format short command method inside fingerprint impl 2025-07-11 21:37:38 +05:30
Ralf Jung
b94083e87f fix const_ops tracking issue 2025-07-11 17:57:50 +02:00
Ralf Jung
0c81bf80e0 fix PartialEq const feature name and const_cmp tracking issue 2025-07-11 17:57:50 +02:00
bit-aloo
cdbe44d806 Use short command method directly from fingerprint 2025-07-11 20:33:36 +05:30
Jonathan Brouwer
2f05fa6fff Fix ICE for parsed attributes with longer path not handled by CheckAttrVisitor
Signed-off-by: Jonathan Brouwer <jonathantbrouwer@gmail.com>
2025-07-11 17:02:57 +02:00
Shoyu Vanilla
f15dfa85cc Add a memory map bound check assertion on rendering const slice 2025-07-11 23:44:49 +09:00
Roger Curley
79769f2d5b Consolidate classify tests 2025-07-11 10:41:24 -04:00
Roger Curley
d2c1900086 Consolidate is_normal tests 2025-07-11 10:41:24 -04:00
Roger Curley
7dd2811b2a Consolidate is_finite tests 2025-07-11 10:41:24 -04:00
Roger Curley
e3d83679cb Consolidate is_infinite tests 2025-07-11 10:41:24 -04:00
Roger Curley
1b8904c0c5 Consolidate is_nan 2025-07-11 10:41:23 -04:00
Roger Curley
868020e059 Consolidate one tests 2025-07-11 10:31:26 -04:00
Roger Curley
fc01eed024 Consolidate negative zero tests 2025-07-11 10:31:25 -04:00
Roger Curley
0c01322ec6 Consolidate zero tests 2025-07-11 10:31:25 -04:00
Roger Curley
c2e6b39474 Consolidate neg_infinity tests 2025-07-11 10:31:25 -04:00
Roger Curley
c5e67b48ef Consolidate test_num tests 2025-07-11 10:31:25 -04:00
Roger Curley
cfb66e5e88 Consolidate infinity tests 2025-07-11 10:31:25 -04:00
Chayim Refael Friedman
928bfbf2f2 Merge pull request #20219 from ChayimFriedman2/expr-store-mem
perf: Put the expression stuff in the expression store behind an `Option<Box>`
2025-07-11 14:25:39 +00:00
Shoyu Vanilla
5a9030840d fix: Normalize projection types before calculating memory maps 2025-07-11 23:10:03 +09:00
León Orell Valerian Liehr
28af500757 Opaque type collection: Guard against endlessly recursing free alias types 2025-07-11 15:56:57 +02:00
bjorn3
ae1075b9ee Update description for flag 2025-07-11 13:54:44 +00:00
Guillaume Gomez
1a28fb8b7b Update sysinfo version to 0.36.0 2025-07-11 15:51:42 +02:00
bjorn3
87958ad683 Avoid building C++ for rustc_llvm with --compile-time-deps
This saves about 30s.
2025-07-11 13:32:03 +00:00
Nikita Popov
34426dce3d Fix fallback for CI_JOB_NAME
If CI_JOB_NAME is not specified, it's supposed to fall back to
the image name, which is `$image`, not `$IMAGE`.

Failing to set the correct CI_JOB_NAME causes failures when running
`dist-ohos-*` images locally.
2025-07-11 15:05:14 +02:00
bjorn3
3fe3edbcde Add --compile-time-deps argument for x check
This reduces the amount of time it takes to do the x check for
rust-analyzer analysis from 12m16s to 3m34s when the bootstrap compiler
is already downloaded.
2025-07-11 12:34:17 +00:00
Samuel Tardieu
d5b10f0c7e Use $RUSTC instead of rustc to get version if var is available 2025-07-11 14:22:23 +02:00
Folkert de Vries
bf8c609b4f Merge pull request #1864 from hkBst/thumbv7neon-unknown-linux-gnueabihf-clippy-fixes
thumbv7neon-unknown-linux-gnueabihf clippy fixes
2025-07-11 12:05:37 +00:00
Jieyou Xu
33e69623ba Fix std debug assertions gate in fmt-write-boat
The test itself is still broken, but fix this gating separately first.
2025-07-11 20:01:42 +08:00
Jieyou Xu
120c9fcb86 Disambiguate between rustc vs std having debug assertions
Additionally, `NO_DEBUG_ASSERTIONS` is set by CI that threads through to
the `./configure` script, which is somewhat fragile and "spooky action
at a distance". Instead, use env vars controlled by compiletest, whose
debug assertion info comes from bootstrap.
2025-07-11 19:58:22 +08:00