about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-01-14fix typo and unit testbinarycat-1/+1
2025-01-14add disclaimer to --disable-minificationbinarycat-1/+1
2025-01-14Update to LLVM 19.1.7Nikita Popov-0/+0
2025-01-14Auto merge of #135442 - antoyo:subtree-update_cg_gcc_2025_01_12, ↵bors-1/+1
r=GuillaumeGomez Subtree update cg_gcc 2025/01/12 r? GuillaumeGomez
2025-01-14Add hir::HeaderSafety to make follow up commits simplerOli Scherer-15/+23
2025-01-14refactor: get(0) -> first()1hakusai1-1/+1
2025-01-14Remove remnant of asmjsKleis Auke Wolthuizen-24/+0
See: https://github.com/rust-lang/rust/issues/131467#issuecomment-2529314603.
2025-01-14Remove trailing spaces1hakusai1-1/+1
2025-01-14fix_typo1hakusai1-1/+1
2025-01-14Merge pull request #4138 from geetanshjuneja/derefRalf Jung-1/+1
Use deref_poiner_as instead of deref_pointer
2025-01-14Add the ability to jump from `into` to `from` definitions1hakusai1-1/+93
2025-01-14Update `notify` to `8.0.0`Carson M.-25/+31
2025-01-14Made `Path::name` only have item name rather than full nameAditya Kumar-2/+2
2025-01-14Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboetbors-6/+6
use a single large catch_unwind in lang_start I originally planned to use `abort_unwind` but reading the comment in `thread_cleanup` it seems we are deliberately going for slightly nicer error messages here, so this preserves that. It still seems nice to not repeat `catch_unwind` so often.
2025-01-13Rollup merge of #135452 - jieyouxu:fix-comment, r=compiler-errorsJacob Pratt-1/+1
bootstrap: fix outdated feature name in comment Follow-up to https://github.com/rust-lang/rust/pull/135391#discussion_r1912826594. I guess I updated everything else **except** the comment right next to the actual dependencies 💀 r? bootstrap
2025-01-13feat: Add dereferencing autocompleteboattime-37/+110
2025-01-14bootstrap: fix outdated feature name in comment许杰友 Jieyou Xu (Joe)-1/+1
2025-01-13Fix error in CI by updating the GCC versionAntoni Boucher-1/+1
2025-01-13Included Abdroid to an epoll test targetsYoh Deadfall-1/+1
2025-01-13Illumos: Added epoll and eventfdYoh Deadfall-8/+41
2025-01-13for purely return-type based searches, deprioritize clone-like functionsbinarycat-0/+46
A clone-like function in a function that takes as an argument the type that it returns. However, functions that return a type variable are not counted as clone-line. Because we're not unifying the whole function at once, a function like `U -> T` would otherwise be counted as "clone-like" because the generics will just unify with anything when done seperatly. Co-authored-by: Michael Howell <michael@notriddle.com>
2025-01-13Mark rustbook as an external toolEric Huss-1/+5
It has been a bit of a pain trying to keep the lints in sync across the submodule repositories, so the just turns it off.
2025-01-13Update booksrustbot-0/+0
2025-01-13Fix another bug when reaching macro expansion limit caused a stack overflowChayim Refael Friedman-0/+31
This time without missing bindings. Solve it by returning to the old ways, i.e. just throw the extra nodes away. In other words, I acknowledge defeat.
2025-01-13ci: Enable opt-dist for dist-aarch64-linux buildsKajetan Puchalski-10/+36
Enable optimised AArch64 dist builds with the opt-dist pipeline. For the time being, disable bolt on aarch64 due to upstream bolt bugs.
2025-01-13rustdoc: Eliminate `AttributesExt`Noah Lev-46/+23
The new code is more explicit and avoids trait magic that added needless complexity to this part of rustdoc.
2025-01-13Auto merge of #135430 - jhpratt:rollup-39cecwd, r=jhprattbors-23/+404
Rollup of 3 pull requests Successful merges: - #135355 (ci: added test log format for ci) - #135386 (clean up code related to the rustdoc-js test suite) - #135391 (bootstrap: Implement conditional `tracing` infra) r? `@ghost` `@rustbot` modify labels: rollup
2025-01-13Rollup merge of #135391 - jieyouxu:conditional-tracing, r=onur-ozkanJacob Pratt-6/+341
bootstrap: Implement conditional `tracing` infra Add a conditional `tracing` setup that is gated behind `BOOTSTRAP_TRACING` env var. This `tracing` infra is implemented by: - Introducing an optional `tracing` cargo feature in bootstrap. - Added optional `tracing*` dependencies which are gated behind the `tracing` cargo feature. - When `BOOTSTRAP_TRACING` is set, `bootstrap.py` will build bootstrap with `--features=tracing`. There is a small trick here to share `BOOTSTRAP_TRACING` env var without having to add a separate env var: - `BOOTSTRAP_TRACING=1` is not a registered `tracing` filter target, so that can be used to enable the `tracing` cargo feature yet not actually enable any tracing logs (useful for editor r-a setups without actually outputting any tracing logs). - `BOOTSTRAP_TRACING=TRACE` and such are actually valid `tracing` filters, but that sets `BOOTSTRAP_TRACING` anyway. Example usage: https://github.com/rust-lang/rust/pull/135299 (that experimental PR is not conditionally gated) This PR is intentionally kept minimal to focus on the infra itself. To get actual mileage, instrumentations will need to be added to individual `Step`s and such. r? `@onur-ozkan` (or reroll)
2025-01-13Rollup merge of #135386 - lolbinarycat:bootstrap-test-cleanup, r=jieyouxuJacob Pratt-14/+14
clean up code related to the rustdoc-js test suite r? `@jieyouxu`
2025-01-13Rollup merge of #135355 - ranger-ross:improved-ci-logs, r=onur-ozkanJacob Pratt-3/+49
ci: added test log format for ci This PR adds a new test render format specifically for ci. The goal as stated in #134910 is to make reviewing test failures in CI easier. See the new test output format in the CI for this PR ([here](https://github.com/rust-lang/rust/actions/runs/12723914643/job/35469515397?pr=135355)) closes #134910 cc: `@jyn514`
2025-01-13Added deref_poiner_as in _NSGetExecutablePathgeetanshjuneja-1/+1
2025-01-13rustc-dev-guide: document `BOOTSTRAP_TRACING` and bootstrap `tracing` setup许杰友 Jieyou Xu (Joe)-0/+104
2025-01-13Auto merge of #135352 - notriddle:notriddle/stability-shown, r=camelidbors-1/+20
rustdoc: use import stability marker in display Fixes #135078
2025-01-12rustdoc: Extract `AttributesExt::lists` trait method as functionNoah Lev-35/+24
The two implementations were identical, so there's no need to use a trait method.
2025-01-12rustdoc: Extract `AttributesExt::cfg` trait method as functionNoah Lev-83/+88
It's never overridden, so it shouldn't be on the trait.
2025-01-12bootstrap: do not rely on LIBRARY_PATH env variableAudrey Dutcher-34/+17
Clang will not respect this value in cross configurations.
2025-01-13Detect unstable lint docs that dont enable their featureMichael Goulet-10/+28
2025-01-13bootstrap.py: build bootstrap binary with `--features=tracing` if ↵许杰友 Jieyou Xu (Joe)-0/+4
`BOOTSTRAP_TRACING` env var is set
2025-01-13bootstrap: add `tracing` and `tracing-tree` based tracing setup许杰友 Jieyou Xu (Joe)-1/+36
2025-01-13bootstrap: add optional `tracing` cargo feature and optional `tracing*` deps许杰友 Jieyou Xu (Joe)-5/+197
2025-01-12Rollup merge of #135411 - Urgau:unreach_pub-run-make, r=jieyouxuGuillaume Gomez-0/+1
run_make_support: add `#![warn(unreachable_pub)]` This PR enables the [`unreachable_pub`](https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unreachable-pub) lint as warn in the `run_make_support` crate. Related to https://github.com/rust-lang/compiler-team/issues/773 r? ``@jieyouxu``
2025-01-12Rollup merge of #135407 - joshtriplett:more-clippy, r=compiler-errorsGuillaume Gomez-2/+26
Deny various clippy lints Almost all of these clippy lints have zero occurrences. Two of them have one each, and this PR fixes those.
2025-01-12Rollup merge of #135348 - aDotInTheVoid:pathspathspaths, r=GuillaumeGomezGuillaume Gomez-13/+140
rustdoc-json: Include items in stripped modules in `Crate::paths`. Closes #135309 When we're running rustdoc-json, we should err on the side of adding more items to `Cache::paths`, as that directly becomes `Crate::paths` in the output. r? ``@GuillaumeGomez.`` Best reviewed commit-by-commit.
2025-01-12Fixup: fix clang command lines in another fileAlan Somers-3/+3
2025-01-12Added Android to epoll and eventfd test targetsYoh Deadfall-3/+3
2025-01-12Auto merge of #135281 - onur-ozkan:build-stamps, r=jieyouxubors-362/+429
centralize build stamp logic This PR brings all the stamp file handling into one place inside `build_stamp` module, which takes care of everything related to build stamps. By doing this, we cut down on duplicated code and types and keep the codebase easier to maintain and more consistent. Main goals are: - Make stamp handling stricter so we don't have to pass `Path`s around and manually `join` on arbitrary directories - Keep all stamp-related logic in one place - Make it easier to test and debug - Avoid duplication - Keep things simple and well-documented Resolves #134962
2025-01-12Merge pull request #4135 from RalfJung/unsup-targetsRalf Jung-166/+185
Add FreeBSD maintainer; test all of Solarish
2025-01-12turns out Solarish targets support our entire test suiteRalf Jung-10/+16
2025-01-12remove a rustfmt::skipRalf Jung-155/+168
2025-01-12record YohDeadfall as FreeBSD maintainerRalf Jung-1/+1