about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-07-19update completionsbinarycat-24/+0
2025-07-19REUSE.toml: add new package.json and package-lock.jsonbinarycat-0/+2
2025-07-19tidy: use a lockfile for js tools instead of npxbinarycat-86/+3323
this makes us less vulnerable to MITM and supply chain attacks. it also means that the CI scripts are no longer responsible for tracking the versions of these tools. it should also avoid the situation where local tsc and CI disagree on the presense of errors due to them being different versions.
2025-07-19update CI to use new tidy extra checks for rustdoc jsbinarycat-5/+2
2025-07-19tidy: running of eslint, tsc, and es-check are now an extra checkbinarycat-111/+211
2025-07-19Add approval blocking labels for new borsJakub Beránek-0/+17
2025-07-19Implement `check::Compiletest` using the `tool_check_step` macroJakub Beránek-57/+15
2025-07-19Allow selecting check tool `Mode` based on `Builder`Jakub Beránek-15/+24
2025-07-19Auto merge of #144172 - lqd:revert-144013, r=petrochenkovbors-58/+45
Prepare revert of 144013 This is a possible revert for rust-lang/rust#144013 causing issue rust-lang/rust#144168 (imo p-crit) to give us time to figure out a correct fix for rust-lang/rust#144013 without pressure. Feel free to close if it's an easy fix instead: r? `@petrochenkov`
2025-07-19`available_parallelism`: Add documentation for why we don't look at `ulimit`Josh Triplett-0/+3
2025-07-19tests: Require `run-fail` ui tests to have an exit code (`SIGABRT` not ok)Martin Nordholts-101/+196
And introduce two new directives for ui tests: * `run-crash` * `run-fail-or-crash` Normally a `run-fail` ui test like tests that panic shall not be terminated by a signal like `SIGABRT`. So begin having that as a hard requirement. Some of our current tests do terminate by a signal/crash however. Introduce and use `run-crash` for those tests. Note that Windows crashes are not handled by signals but by certain high bits set on the process exit code. Example exit code for crash on Windows: `0xc000001d`. Because of this, we define "crash" on all platforms as "not exit with success and not exit with a regular failure code in the range 1..=127". Some tests behave differently on different targets: * Targets without unwind support will abort (crash) instead of exit with failure code 101 after panicking. As a special case, allow crashes for `run-fail` tests for such targets. * Different sanitizer implementations handle detected memory problems differently. Some abort (crash) the process while others exit with failure code 1. Introduce and use `run-fail-or-crash` for such tests.
2025-07-19non-deterministically truncate reads/writesRalf Jung-122/+312
2025-07-19Document guarantees of poisoningAlisa Sireneva-25/+67
This mostly documents the current behavior of `Mutex` and `RwLock` as imperfect. It's unlikely that the situation improves significantly in the future, and even if it does, the rules will probably be more complicated than "poisoning is completely reliable", so this is a conservative guarantee. We also explicitly specify that `OnceLock` never poisons, even though it has an API similar to mutexes.
2025-07-19Fix `missing_inline_in_public_items` FP on functions with `extern` (#15313)Timo-2/+30
Closes rust-lang/rust-clippy#15301 changelog: [`missing_inline_in_public_items`] fix FP on functions with `extern`
2025-07-20fix: `missing_inline_in_public_items` FP on functions with `extern`yanglsh-2/+30
2025-07-19Rollup merge of #144180 - lqd:fix-typo, r=jieyouxu许杰友 Jieyou Xu (Joe)-1/+1
fix load-bearing typo Trying to see if this is enough to fix PR CI. How did it land without issues is a question for later. <sub>I can see the headlines already, "billion dollar infrastructure brought down by load-bearing typo".</sub>
2025-07-19Rollup merge of #144178 - GuillaumeGomez:fix-clippy-lints, r=fmease许杰友 Jieyou Xu (Joe)-174/+154
Fix clippy lints in librustdoc
2025-07-19Rollup merge of #144152 - ChrisDenton:optional-job, r=Kobzol许杰友 Jieyou Xu (Joe)-2/+2
Rename `optional-mingw-check-1` to `optional-pr-check-1` I noticed this when doing a `bors2 try` for `mingw`. I also changed it to use the `pr-check-1` image as `mingw-check-1` no longer exists.
2025-07-19Rollup merge of #144149 - reallesee:master, r=Noratrieb许杰友 Jieyou Xu (Joe)-1/+1
docs: update link to RISC-V and Xtensa installation guide Replace outdated link https://docs.esp-rs.org/book/installation/riscv-and-xtensa.html with the official Espressif documentation at https://docs.espressif.com/projects/rust/book/installation/index.html
2025-07-19Rollup merge of #143960 - hkBst:tidy-cleanup-2, r=Mark-Simulacrum许杰友 Jieyou Xu (Joe)-115/+114
Tidy cleanup 2
2025-07-19fix load-bearing typoRémy Rakic-1/+1
2025-07-19Fix clippy lints in librustdocGuillaume Gomez-174/+154
2025-07-19update `Atomic*::from_ptr` and `Atomic*::as_ptr` docsusamoi-9/+15
2025-07-19Auto merge of #143641 - Kobzol:tool-target, r=jieyouxubors-166/+408
Add `ToolTarget` to bootstrap Oh, you thought I'm done with refactoring bootstrap tools? Na-ah, think again! After the failure of https://github.com/rust-lang/rust/pull/143581, `ToolTarget` is back with a vengeance. This time, I implemented the test changes and tool cleanups without forcing these tools to be built with the stage0 compiler. There are still some small wins though, `LlvmBitcodeLinker` now starts at stage 1, and not stage 2. Cargo should also be ported to this new mode, but I'm leaving that for a follow-up PR. Hopefully X-th time's the charm :crossed_fingers: r? `@jieyouxu`
2025-07-19Merge pull request #4482 from RalfJung/depsRalf Jung-538/+1160
update dependencies
2025-07-19don't halt execution when we write to a read-only fileRalf Jung-1/+14
2025-07-19fix `collapsable_else_if` when the inner `if` is in parensFolkert de Vries-27/+102
2025-07-19move and update test dependenciesRalf Jung-76/+169
2025-07-19Fix `filter_map_bool_then` wrongly suggests macro definitions (#15048)Alex Macleod-5/+55
Closes rust-lang/rust-clippy#15047 changelog: [`filter_map_bool_then`] fix wrongly showed macro definitions in suggestions
2025-07-19Fix `needless_range_loop` FP on array literals (#15314)llogiq-2/+45
Closes rust-lang/rust-clippy#15309 changelog: [`needless_range_loop`] fix FP on array literals
2025-07-19Simplify `must_use_candidate` spans (#15310)Alex Macleod-29/+64
This is blocking rust-lang/rust-clippy#14724 changelog: none
2025-07-19Remove unused option `None` for `LEVEL_FILTERS_DEFAULT` (#15315)Alex Macleod-1/+0
Take to account that we don't have lints under under `None` for `LEVEL_FILTERS_DEFAULT` so far https://rust-lang.github.io/rust-clippy/master/index.html?levels=none, we can remove it. changelog: none
2025-07-19Move float non determinism helpers to math.rsLorrensP-2158466-164/+145
2025-07-19ditch which dependencyRalf Jung-30/+3
2025-07-19bump cargo-metadataRalf Jung-5/+371
2025-07-19bump ui_testRalf Jung-10/+9
2025-07-19bump ipc-channelRalf Jung-40/+8
2025-07-19bump colored depRalf Jung-3/+12
2025-07-19cargo updateRalf Jung-384/+598
2025-07-19fix: `needless_range_loop` FP on array literalsyanglsh-2/+45
2025-07-19Remove unused option fir LEVEL_FILTERS_DEFAULTAlexey Semenyuk-1/+0
2025-07-19opt-dist: rebuild rustc when doing static LLVM buildsMaksim Bondarenkov-2/+14
when building LLVM it's obvious that in case of shared build rustc doesn't need to be recompiled, but with static builds it would be better to compile rustc again to ensure we linked proper library. maybe I didn't understand the pipeline correctly, but it was strange for me to see that in Stage 5 LLVM is built while rustc is not
2025-07-19Auto merge of #144166 - matthiaskrgr:rollup-wccepuo, r=matthiaskrgrbors-168/+1785
Rollup of 10 pull requests Successful merges: - rust-lang/rust#141076 (fix Zip unsoundness (again)) - rust-lang/rust#142444 (adding run-make test to autodiff) - rust-lang/rust#143704 (Be a bit more careful around exotic cycles in in the inliner) - rust-lang/rust#144073 (Don't test panic=unwind in panic_main.rs on Fuchsia) - rust-lang/rust#144083 (miri sleep tests: increase slack) - rust-lang/rust#144092 (bootstrap: Detect musl hosts) - rust-lang/rust#144098 (Do not lint private-in-public for RPITIT) - rust-lang/rust#144103 (Rename `emit_unless` to `emit_unless_delay`) - rust-lang/rust#144108 (Ignore tests/run-make/link-eh-frame-terminator/rmake.rs when cross-compiling) - rust-lang/rust#144115 (fix outdated comment) r? `@ghost` `@rustbot` modify labels: rollup
2025-07-19Merge pull request #4480 from RalfJung/no-extra-rounding-errorOli Scherer-6/+18
add -Zmiri-no-extra-rounding-error to specifically disable just that part of float-nondet
2025-07-19add -Zmiri-no-extra-rounding-error to specifically disable just that part of ↵Ralf Jung-6/+18
float-nondet
2025-07-19Revert "resolve: Make disambiguators for underscore bindings module-local"Rémy Rakic-58/+45
This reverts commit 998df3a3e851908afd05c3318f16d99849af5c55.
2025-07-19Merge pull request #20258 from Young-Flash/remove_unusedLaurențiu Nicola-3/+1
minor: remove unused var
2025-07-19interpret: fix TypeId pointers being considered data pointersRalf Jung-11/+28
2025-07-19Fix compiler for dist LLVM bitcode linkerJakub Beránek-12/+29
2025-07-19minor: remove unused varYoung-Flash-3/+1