about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-02-09Rollup merge of #136530 - Kobzol:x-perf, r=onur-ozkanUrgau-233/+0
Implement `x perf` directly in bootstrap Discussed [here](https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Turning.20.60x.20perf.60.20into.20a.20first.20class.20command). Implementing the command directly in bootstrap let's us correctly build the compiler toolchain based on input arguments (such as include rustdoc in the toolchain [only] when needed), and it also makes the CLI interface nicer. r? ``@onur-ozkan``
2025-02-08Rustfmtbjorn3-230/+306
2025-02-08Update bootstrap compiler and rustfmtbjorn3-1/+1
The rustfmt version we previously used formats things differently from what the latest nightly rustfmt does. This causes issues for subtrees that get formatted both in-tree and in their own repo. Updating the rustfmt used in-tree solves those issues. Also bumped the bootstrap compiler as the stage0 update command always updates both at the same time.
2025-02-08Rollup merge of #136657 - jdonszelmann:empty-line-after, ↵Matthias Krüger-472/+611
r=y21,flip1995,WaffleLapkin Make empty-line-after an early clippy lint r? ```@y21``` 95% a refiling of https://github.com/rust-lang/rust-clippy/pull/13658 but for correctness it needed 2 extra methods in `rust_lint` which made it much easier to apply on `rust-lang/rust` than `rust-lang/rust-clippy`. Commits have been thoroughly reviewed on `rust-lang/clippy already`. The last two review comments there (about using `Option` and popping for assoc items have been applied here.
2025-02-08Merge pull request #19113 from BenjaminBrienen/patch-1Laurențiu Nicola-1/+1
Update PRIVACY.md
2025-02-08Merge pull request #19115 from Wilfred/sidebar_structureLaurențiu Nicola-3/+3
Organise chapters in mdbook sidebar
2025-02-08Merge from rustcThe Miri Cronjob Bot-32/+28
2025-02-08Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-02-07Update cargoWeihang Lo-0/+0
2025-02-07update enzyme core to provide c bindingsManuel Drehwald-0/+0
2025-02-07Organise chapters in mdbook sidebarWilfred Hughes-3/+3
2025-02-07Update README.md links for mdbook manualWilfred Hughes-3/+4
2025-02-07clippy: directly use rustc_abi instead of reexportsJubilee Young-41/+43
2025-02-07Update PRIVACY.mdBenjamin Brienen-1/+1
2025-02-08simplify panic_contextJulian Eager-22/+18
2025-02-08fix: Apply adjustments to proper expr when invoking `CoerceMany`Shoyu Vanilla-9/+89
2025-02-07Replace i686-unknown-redox target with i586-unknown-redoxJeremy Soller-1/+1
2025-02-07Rollup merge of #135945 - estebank:useless-parens, r=compiler-errorsMatthias Krüger-15/+15
Remove some unnecessary parens in `assert!` conditions While working on #122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
2025-02-07Rollup merge of #135940 - ehuss:toolstate-update, r=Mark-SimulacrumMatthias Krüger-8/+11
Update toolstate maintainers This updates the toolstate maintainers to more closely match who is still active.
2025-02-07Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, ↵Matthias Krüger-9/+2
r=compiler-errors Stabilize `feature(trait_upcasting)` This feature was "done" for a while now, I think it's finally time to stabilize it! Stabilization report: https://github.com/rust-lang/rust/pull/134367#issuecomment-2545839841. cc reference PR: https://github.com/rust-lang/reference/pull/1622. Closes #65991 (tracking issue), closes #89460 (the lint is no longer future incompat). r? compiler-errors
2025-02-07add tests for spurious failure and fix typoJana Dönszelmann-21/+49
2025-02-07fix typoJana Dönszelmann-1/+1
2025-02-07fix empty after lint on impl/trait itemsJonathan Dönszelmann-38/+116
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
2025-02-07Update UI testsGuillaume Gomez-25/+27
2025-02-07Convert `EMPTY_LINE_AFTER_OUTER_ATTR` and `EMPTY_LINE_AFTER_OUTER_ATTR` lint ↵Guillaume Gomez-427/+458
into early lints
2025-02-07Merge pull request #19104 from jnyfah/some-branchLukas Wirth-1/+58
option to disable inlay Type hints for Closure parameters
2025-02-07minor changesjnyfah-1/+1
2025-02-07Merge pull request #19106 from ShoyuVanilla/issue-18682Lukas Wirth-0/+36
fix: Resolve projection types before checking casts
2025-02-07fmtThe Miri Cronjob Bot-1/+1
2025-02-07Merge from rustcThe Miri Cronjob Bot-669/+2781
2025-02-07Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-02-07fix: Resolve projection types before checking castsShoyu Vanilla-0/+36
2025-02-06remove use of `feature(trait_upcasting)` from miriWaffle Lapkin-9/+2
2025-02-06Remove some unnecessary parens in `assert!` conditionsEsteban Küber-15/+15
While working on #122661, some of these started triggering our "unnecessary parens" lints due to a change in the `assert!` desugaring. A cursory search identified a few more. Some of these have been carried from before 1.0, were a bulk rename from the previous name of `assert!` left them in that state. I went and removed as many of these unnecessary parens as possible in order to have fewer annoyances in the future if we make the lint smarter.
2025-02-06Rollup merge of #136645 - flip1995:clippy-subtree-update, r=ManishearthMatthias Krüger-565/+2680
Clippy subtree update r? `@Manishearth`
2025-02-06Merge pull request #4181 from tiif/check_shim_variadicRalf Jung-101/+129
Throw ub error when invoking non-vararg shim with vararg import
2025-02-06fix: Don't emit empty scip occurrence for builtinsDavid Richey-34/+31
2025-02-06some more argument checking cleanupRalf Jung-70/+77
2025-02-06Auto merge of #136641 - matthiaskrgr:rollup-lajwje5, r=matthiaskrgrbors-21/+17
Rollup of 7 pull requests Successful merges: - #136073 (Always compute coroutine layout for eagerly emitting recursive layout errors) - #136235 (Pretty print pattern type values with transmute if they don't satisfy their pattern) - #136311 (Ensure that we never try to monomorphize the upcasting or vtable calls of impossible dyn types) - #136315 (Use short ty string for binop and unop errors) - #136393 (Fix accidentally not emitting overflowing literals lints anymore in patterns) - #136435 (Simplify some code for lowering THIR patterns) - #136630 (Change two std process tests to not output to std{out,err}, and fix test suite stat reset in bootstrap CI test rendering) r? `@ghost` `@rustbot` modify labels: rollup try-job: aarch64-gnu-debug
2025-02-06inline a once-used functionRalf Jung-29/+16
2025-02-06Throw ub error when invoking non-vararg shim with vararg importtiif-2/+36
2025-02-06collapsing if statementjnyfah-4/+2
2025-02-06closure parameter inlay hintsjnyfah-1/+60
2025-02-06Merge commit '3e3715c31236bff56f1c63a1de2c7bbdfcfb0923' into ↵Philipp Krones-565/+2680
clippy-subtree-update
2025-02-06Rollup merge of #136393 - oli-obk:pattern-type-lit-oflo-checks, ↵Matthias Krüger-21/+17
r=compiler-errors Fix accidentally not emitting overflowing literals lints anymore in patterns This was regressed in https://github.com/rust-lang/rust/pull/134228 (not in beta yet). The issue was that previously we nested `hir::Expr` inside `hir::PatKind::Lit`, so it was linted by the expression code. So now I've set it up for visitors to be able to directly visit literals and get all literals
2025-02-06Auto merge of #136471 - safinaskar:parallel, r=SparrowLiibors-82/+84
tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` This is continuation of https://github.com/rust-lang/rust/pull/132282 . I'm pretty sure I did everything right. In particular, I searched all occurrences of `Lrc` in submodules and made sure that they don't need replacement. There are other possibilities, through. We can define `enum Lrc<T> { Rc(Rc<T>), Arc(Arc<T>) }`. Or we can make `Lrc` a union and on every clone we can read from special thread-local variable. Or we can add a generic parameter to `Lrc` and, yes, this parameter will be everywhere across all codebase. So, if you think we should take some alternative approach, then don't merge this PR. But if it is decided to stick with `Arc`, then, please, merge. cc "Parallel Rustc Front-end" ( https://github.com/rust-lang/rust/issues/113349 ) r? SparrowLii `@rustbot` label WG-compiler-parallel
2025-02-06Merge pull request #4179 from rayslava/masterRalf Jung-1/+6
allow code to call geteuid()
2025-02-06Merge from rustcThe Miri Cronjob Bot-23/+61
2025-02-06Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2025-02-06allow code to call geteuid()Slava Barinov-1/+6