about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-03-17Merge pull request #19384 from Veykril/push-yppplzzpoymrLukas Wirth-5/+5
fix: Fix stale `Building CrateGraph` report
2025-03-17wix: allow to skip more componentsklensy-34/+78
2025-03-17fix missing rustfmt for apple darwinGiang Dao-3/+9
2025-03-17fix missing rustfmt and clippy for msiGiang Dao-2/+70
2025-03-17chore: Bump `Edition::CURRENT` to 2024Lukas Wirth-244/+277
2025-03-17fix: Fix stale `Building CrateGraph` reportLukas Wirth-5/+5
2025-03-17Stabilize asm_gotoGary Guo-32/+27
2025-03-17Rollup merge of #138592 - onur-ozkan:follow-up-137147, r=KobzolJacob Pratt-1/+1
update change entry for #137147 r? `@RalfJung`
2025-03-17Rollup merge of #138586 - jyn514:doc-register-tool, r=jieyouxuJacob Pratt-0/+55
Document `#![register_tool]` cc https://github.com/rust-lang/rust/issues/66079
2025-03-17Rollup merge of #137793 - NobodyXu:stablise-annoymous-pipe, r=joshtriplettJacob Pratt-2/+0
Stablize anonymous pipe Since #135822 is staled, I create this PR to stablise anonymous pipe Closes #127154 try-job: test-various
2025-03-17Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboetJacob Pratt-1/+1
Add std support to cygwin target
2025-03-17Rollup merge of #136355 - ↵Jacob Pratt-2/+9
GuillaumeGomez:proc-macro_add_value_retrieval_methods, r=Amanieu Add `*_value` methods to proc_macro lib This is the implementation of https://github.com/rust-lang/libs-team/issues/459. It allows to get the actual value (unescaped) of the different string literals. Part of https://github.com/rust-lang/rust/issues/136652. r? libs-api
2025-03-17Only add `rustc_randomized_layouts` if the crate has itGuillaume Gomez-1/+1
2025-03-17Merge pull request #19315 from snprajwal/ci-xtaskLukas Wirth-7/+18
fix(codegen): do not generate docs with `--check`
2025-03-17Merge pull request #19329 from Shourya742/2025-03-10-add-proc-macro-api-docLukas Wirth-1/+71
doc: add doc to proc-macro-api
2025-03-17fix(codegen): do not generate docs with `--check`Prajwal S N-7/+18
Running `cargo codegen --check` should not generate any mdbook files, since they are ignored in the repo and used only while releasing a new copy of the documentation. Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-03-17update change entry for #137147onur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-03-17make profile_user_dist test backward compatiblebit-aloo-7/+9
2025-03-17replace config.toml to bootstrap.toml in src/ci, src/etc/* and tests/run-makebit-aloo-280/+280
2025-03-17replace config.toml to bootstrap.toml in src:toolsbit-aloo-9/+17
2025-03-17replace config.toml to bootstrap.toml in src:doc:unstable-bookbit-aloo-1/+1
2025-03-17replace config.toml to bootstrap.toml in src:doc:rustcbit-aloo-57/+57
2025-03-17replace config.toml to bootstrap.toml in src:doc:rustc-dev-guidebit-aloo-56/+56
2025-03-17change config.toml to bootstrap.toml for bootstrap modulebit-aloo-101/+127
2025-03-17Document `#![register_tool]`jyn-0/+55
2025-03-16Rollup merge of #136816 - yotamofek:pr/notable-traits-button-cleanup, ↵Jacob Pratt-21/+11
r=aDotInTheVoid refactor `notable_traits_button` to use iterator combinators instead of for loop ~Small cleanup. Use `Iterator::any` instead of `for` loop with `predicate = true;`. I think this makes the code more readable... and also has the additional benefit of short-circuiting the iterator when a notable trait is found (a `break` statement was missing in the `for` loop version, I think). Probably won't be significant enough to show on perf results, though.~ Three commits, each attempting to optimize `notable_trait_buttons` by a little bit.
2025-03-16expand ${workspaceFolder} in sample vim configjyn-1/+25
2025-03-16Fix ICE: attempted to remap an already remapped filenameCharalampos Mitrodimas-2/+2
This commit fixes an internal compiler error (ICE) that occurs when rustdoc attempts to process macros with a remapped filename. The issue arose during macro expansion when the `--remap-path-prefix` option was used. Instead of passing remapped filenames through, which would trigger the "attempted to remap an already remapped filename" panic, we now extract the original local path from remapped filenames before processing them. A test case has been added to verify this behavior. Fixes #138520 Signed-off-by: Charalampos Mitrodimas <charmitro@posteo.net>
2025-03-16rustdoc-json: Don't also include `#[deprecated]` in `Item::attrs`Alona Enraght-Moony-2/+9
2025-03-17Fix `is_relevant_impl`.Nicholas Nethercote-1/+1
It determines if a function should have any `inline` attributes checked. For `ItemKind::Fn` it returns true or false depending on the details of the function; for anything other item kind it returns *true*. This latter case should instead be *false*. (In the nearby and similar functions `is_relevant_impl` and `is_relevant_trait` the non-function cases return false.) The effect of this is that non-functions are no longer checked. But rustc already disallows `inline` on any non-function items. So if anything its a tiny performance win, because that was useless anyway.
2025-03-16rustdoc: Rename `Item::attributes` param to `is_json`Alona Enraght-Moony-8/+4
This makes it clearer what it's actually used for, and makes it easier to think about modifying `Item::attributes`.
2025-03-16Add a note to rustc-dev-guideJakub Beránek-0/+2
2025-03-16Auto merge of #137011 - LuuuXXX:promote-ohos-with-host-tools, r=Amanieubors-12/+65
Promote ohos targets to tier2 with host tools. ### What does this PR try to resolve? Try to promote the following [[Tier 2 without Host Tools](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-without-host-tools)](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-without-host-tools) targets to [[Tier 2 with Host Tools](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools)](https://doc.rust-lang.org/rustc/platform-support.html#tier-2-with-host-tools): - `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos` - `x86_64-unknown-linux-ohos` ### More Information? see MCP: https://github.com/rust-lang/compiler-team/issues/811 ### Blockage to be solved? - [x] Submit an MCP - [x] Submit code of promote ohos targets - [x] Resolve related dependencies (`measureme`) The modified code of the measureme has been merged (see https://github.com/rust-lang/measureme/pull/238). [done] The new version will was released (https://github.com/rust-lang/measureme/pull/240). [done]
2025-03-16Suppress must_use for ControlFlow in rust-analyzerMichael Goulet-17/+17
2025-03-16Suppress must_use in compiler and toolsMichael Goulet-28/+28
2025-03-16Merge pull request #19374 from lnicola/nextestLaurențiu Nicola-1/+3
minor: Use cargo nextest on CI
2025-03-16Merge pull request #19355 from Veykril/push-nzknrnouutnpLukas Wirth-179/+182
internal: Render root syntax contexts more clearly
2025-03-16Following commit 401dd84 in the Rust projectYang Lin-4/+7
(https://github.com/rust-lang/rust), `ErrorGuaranteed` was replaced by fatal errors. As a result, `tcx.analysis()` now aborts directly instead of returning an error guard. To accommodate this change, this update replaces `tcx.analysis()` with `typeck()` to perform type checking in the example.
2025-03-16Adapt to rust-lang/rust#136466:Yang Lin-13/+9
Start removing `rustc_middle::hir::map::Map` Following commit f86f7ad from pull request #136466 in the Rust project (https://github.com/rust-lang/rust), some methods in `Map` were moved to `TyCtxt`. This update reimplements `rustc-drive-example.rs`, `rustc-driver-interacting-with-the-ast.rs`, and `rustc-interface-example.rs` using the new versions of these methods, ensuring compatibility with the nightly-2025-03-08 toolchain.
2025-03-16internal: Render root syntax contexts more clearlyLukas Wirth-164/+177
2025-03-16internal: `Symbol` is not `PartialOrd`Lukas Wirth-15/+5
2025-03-16minor: Remove unnecessary allocations in `function::params_display`Lukas Wirth-16/+16
2025-03-16Merge pull request #19363 from euclio/varargs-detailLukas Wirth-1/+58
display varargs in completion detail
2025-03-16Merge pull request #19344 from BenjaminBrienen/add-iconsLukas Wirth-0/+2
Add icons to views
2025-03-16Merge pull request #19354 from ChayimFriedman2/rtn-prepLukas Wirth-82/+205
Preparation to Return Type Notation (RTN)
2025-03-16Use cargo nextest on CILaurențiu Nicola-1/+3
2025-03-16refactor: Remove unnecessary `Arc`Lukas Wirth-26/+22
2025-03-16refactor: Remove `CrateGraphBuilder::iter_mut`Lukas Wirth-1297/+75
2025-03-16Merge from rustcThe Miri Cronjob Bot-393/+460
2025-03-16Preparing for merge from rustcThe Miri Cronjob Bot-1/+1