Commit Graph

300570 Commits

Author SHA1 Message Date
Ralf Jung
bccc32bf79 readme: update strict provenance link 2025-07-12 08:55:17 +02:00
bors
9535feebd5 Auto merge of #143809 - weihanglo:update-cargo, r=weihanglo
Update cargo

14 commits in 930b4f62cfcd1f0eabdb30a56d91bf6844b739bf..eabb4cd923deb73e714f7ad3f5234d68ca284dbe
2025-06-28 14:58:43 +0000 to 2025-07-09 22:07:55 +0000
- feat: Implementation and tests for `multiple-build-scripts` (rust-lang/cargo#15704)
- perf: Speed up TOML parsing by upgrading toml (rust-lang/cargo#15736)
- Mark cachelock tests that rely on interprocess blocking behaviour as unsupported on AIX. (rust-lang/cargo#15734)
- feat(publish): Stabilize multi-package publishing (rust-lang/cargo#15636)
- Update to Rust 2024 (rust-lang/cargo#15732)
- Clarify package ID specifications in SBOMs are fully qualified (rust-lang/cargo#15731)
- chore(deps): update cargo-semver-checks to v0.42.0 (rust-lang/cargo#15730)
- test: Switch config tests to use snapshots (rust-lang/cargo#15729)
- implement package feature unification (rust-lang/cargo#15684)
- chore: Upgrade dependencies (rust-lang/cargo#15722)
- Report valid file name when we can't find a build target for `name = "foo.rs"` (rust-lang/cargo#15707)
- chore(release): Publish build-rs on release (rust-lang/cargo#15708)
- Override `Cargo.lock` checksums when doing a dry-run `publish` (rust-lang/cargo#15711)
- test(rustfix): Update for nightly (rust-lang/cargo#15717)

r? ghost
2025-07-12 04:39:57 +00:00
nazo6
5d7db7e16e Fixed a core crate compilation failure when enabling the optimize_for_size feature on some targets 2025-07-12 10:59:19 +09:00
Jakub Beránek
0528cc9638 Access wasi_sdk_path instead of reading environment variable in bootstrap 2025-07-11 22:43:02 +02:00
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
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
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
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
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
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
许杰友 Jieyou Xu (Joe)
c46e385a5e Merge pull request #2502 from Kobzol/rustc-josh-sync-ci 2025-07-11 19:04:57 +08:00
Oli Scherer
7ad30cc619 Some const_trait_impl test cleanups 2025-07-11 10:01:03 +00:00
Huang Qi
074846289a std: move NuttX to use arc4random for random number generation
* Move `target_os = "nuttx"` from unix_legacy to arc4random section
* This aligns NuttX with other POSIX-compliant systems that support arc4random
* Improves random number generation quality on NuttX by using the system's
  built-in arc4random implementation instead of legacy fallback methods

NuttX supports arc4random_buf which provides better entropy and security
compared to the legacy random number generation methods.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2025-07-11 17:31:27 +08:00