about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-06-11fix: Hide dyn inlay hints for incomplete `impl`sLukas Wirth-3/+9
2025-06-11add comment over ci changebit-aloo-1/+3
2025-06-11add tracing flag in bootstrap check cmd in mingw-check-2 ci workflowbit-aloo-1/+1
2025-06-11Revert "add `Cargo.lock` to CI-rustc allowed list for non-CI env"Jakub Beránek-34/+21
This reverts commit c3de813944873940b8e1a7734991f3c9f3f55156.
2025-06-11Merge pull request #4384 from RalfJung/diag-no-repeatOli Scherer-874/+727
diagnostics: do not repeat the entire message in the span label
2025-06-11add trace_cmd import in tracing feature in execution contextbit-aloo-0/+2
2025-06-11miri: we can use apfloat's mul_add nowRalf Jung-10/+6
2025-06-11miri: add flag to suppress float non-determinismRalf Jung-4/+31
2025-06-11that was phrased like a separate sentenceTshepang Mbambo-1/+1
2025-06-11Don't clone `new_item` in `after_krate`.Nicholas Nethercote-7/+16
We can avoid it by using the `entry` API, which lets us do the `assert_eq` comparison before `new_item` is consumed.
2025-06-11Avoid more clones in rustdoc JSON output.Nicholas Nethercote-125/+133
By making `JsonRenderer::item` take `&clean::Item` instead of a `clean::Item`. This required also changing `FromClean` and `IntoJson` methods to take references, which required a lot of follow-on sigil wrangling that is mostly tedious.
2025-06-11Fix proc macro server handling of strings with minusesChayim Refael Friedman-31/+26
It used to decompose them thinking they were numbers.
2025-06-10Auto merge of #142292 - RalfJung:miri-sync, r=RalfJungbors-228/+420
Miri subtree update r? `@ghost`
2025-06-10Using git § I changed a submodule by accident: be explicitlolbinarycat-1/+2
Rewriting git history is something that is often difficult for new contributors, and we're already explaining the `<foo>` placeholder syntax, so I think it makes sense to be explicit about what exactly the paths mean.
2025-06-10Improve documentation of the `Rustc` step and rename `compiler` to ↵Jakub Beránek-41/+57
`build_compiler` in a few places
2025-06-10Rename `build` to `host_target`Jakub Beránek-314/+326
Host is the machine where bootstrap runs, and this field represents the target of the (host) stage0/beta compiler. This is much clearer than `build`, which also conflicts with the `Build` struct, which is stored under the name `build` inside `Builder` (lol).
2025-06-10Rollup merge of #142275 - aDotInTheVoid:gen-ty-of, r=fmeaseLeón Orell Valerian Liehr-74/+19
rustdoc: Refractor `clean_ty_generics` Refactoring towards rust-lang/rust#142226 [Zulip Discussion](https://rust-lang.zulipchat.com/#narrow/channel/266220-t-rustdoc/topic/Why.20sometimes.20.60predicates_of.60.20.28vs.20.60explicit_predicates_.2E.2E.2E/near/523182529) The old `clean_ty_generics` was almost always called with the same args, so rename it to `clean_ty_generics_inner`, and add a new wrapper that generates those args from a `DefId`. Having this be the main entrypoint to `clean_ty_generics` should make it easier to start calling `inferred_outlives_of` https://github.com/rust-lang/rust/pull/142264#discussion_r2136498360 (and is more readable even if we don't) Also, replaces all calls in rustdoc to `tcx.predicates_of` to `tcx.explicit_predicates_of`, which lets us remove `filter_non_trait_generics` r? ```@fmease```
2025-06-10Rollup merge of #142258 - ↵León Orell Valerian Liehr-19/+19
teohhanhui:docs/platform-support-linux-kernel-version-or-later, r=workingjubilee platform-support.md: Mention specific Linux kernel version or later To be consistent with notes for other targets... ~~(Only made the change for `aarch64-unknown-linux-gnu` for now, as that's fairly certain after looking at the `git blame` just to be sure.)~~
2025-06-10Rollup merge of #141909 - Shourya742:2025-06-01-add-execution-context, r=KobzolLeón Orell Valerian Liehr-272/+364
Add central execution context to bootstrap This PR continues the effort toward command centralization as outlined in https://github.com/rust-lang/rust/issues/126819. It introduces a centralized execution context through which all commands will be executed. Previously, centralization was limited to build methods; this PR extends it to the `config` module and updates the remaining methods accordingly. Best reviewed commit by commit. r? ``@Kobzol``
2025-06-10Rollup merge of #141818 - mati865:dont-create-msi-from-non-windows, r=KobzolLeón Orell Valerian Liehr-1/+2
Don't create .msi installer for gnullvm hosts WIX toolset works only on Windows hosts, but gnullvm doesn't have host toolchain yet. To get out of this loop, we will create a single release without MSI installer. Split out from: https://github.com/rust-lang/rust/pull/140772
2025-06-10Make loongarch-none target maintainers more easily pingableJieyou Xu-2/+2
2025-06-10Document `//@ needs-target-std` in rustc-dev-guideJieyou Xu-0/+1
2025-06-10Implement `//@ needs-target-std` directive in compiletestJieyou Xu-0/+17
To support tests to condition their (potentially cross-compile) execution based on whether the target supports std.
2025-06-10Extract target no-std hack to `build_helpers`Jieyou Xu-1/+13
To centralize this hack in one place with a backlink to the issue tracking this hack, as this logic is also needed by compiletest to implement a `//@ needs-target-std` directive.
2025-06-10Merge pull request #19964 from Wilfred/fix_typosChayim Refael Friedman-2/+2
[minor] Fix typos
2025-06-10[minor] Fix typosWilfred Hughes-2/+2
2025-06-10Add more tests to check extracted doctests featureGuillaume Gomez-3/+55
2025-06-10Improve naming of variables in `DocTestBuilder::generate_unique_doctest`Guillaume Gomez-9/+40
Improve code
2025-06-10Give more information into extracted doctest informationGuillaume Gomez-49/+134
2025-06-10Merge pull request #19963 from ChayimFriedman2/unsized-impl-itemsLukas Wirth-3/+64
fix: Do not error at impls for unsized types that do not include `where Self: Sized` items
2025-06-10Do not error at impls for unsized types that do not include `where Self: ↵Chayim Refael Friedman-3/+64
Sized` items
2025-06-10Add supported asm types for LoongArch32WANG Rui-0/+5
2025-06-10Use a faster runner for the x64 dist-alt jobJakub Beránek-1/+1
2025-06-10enable rustc debug assertions on -alt buildsRémy Rakic-0/+5
llvm assertions are already enabled and debug assertions are also useful
2025-06-10Pass `jemalloc` feature to Clippy in bootstrapJakub Beránek-2/+15
2025-06-10Merge pull request #4389 from RalfJung/native-lib-search-orderRalf Jung-22/+25
native_lib: skip to next .so if function was in dependency of the first
2025-06-10Merge pull request #4382 from RalfJung/dupRalf Jung-2/+3
test_dup: ensure the FDs remain in sync even after dup'ing
2025-06-10Add jemalloc feature to ClippyJakub Beránek-0/+35
2025-06-10Add jemalloc feature to ClippyJakub Beránek-0/+36
2025-06-10ci: split x86_64-gnu-tools jobMarcoIeni-56/+125
2025-06-10Avoid cloning `self.index` in `after_krate`.Nicholas Nethercote-2/+4
It can be very big. This reduces peak memory usage for some `--output-format=json` runs by up to 8%.
2025-06-10float tests: test non-determinism for more operationsRalf Jung-22/+25
2025-06-10Merge pull request #4394 from RalfJung/smallvecRalf Jung-0/+99
add SmallVec test
2025-06-10add SmallVec testRalf Jung-0/+99
2025-06-10Simplify `JsonRenderer`.Nicholas Nethercote-10/+9
- It doesn't need to be cloneable. - Some of the `Rc`s and `RefCell`s aren't doing anything. - `after_krate` can consume `self`.
2025-06-10sync max_fundamental_align with alloc crateRalf Jung-4/+7
2025-06-10Auto merge of #142109 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 18 commits in 64a12460708cf146e16cc61f28aba5dc2463bbb4..fc1518ef02b77327d70d4026b95ea719dd9b8c51 2025-05-30 18:25:08 +0000 to 2025-06-06 04:49:44 +0000 - fix: Make UI tests handle hyperlinks consistently (rust-lang/cargo#15640) - Update "time out" to "timeout" (rust-lang/cargo#15637) - fix(workspace): reload current manifest path member only (rust-lang/cargo#15633) - Update dependencies (rust-lang/cargo#15635) - fix(publish): Don't tell people to ctrl-c without knowing consequences (rust-lang/cargo#15632) - refactor: clean up `clippy::perf` lint warnings (rust-lang/cargo#15631) - fix(package): Skip registry check if its not needed (rust-lang/cargo#15629) - Add --offline for comp (rust-lang/cargo#15623) - cargo-credential-libsecret: load libsecret only once (rust-lang/cargo#15295) - test(publish): Improvements in prep for `-Zpackage-workspace` stabilization (rust-lang/cargo#15628) - fix(package): Allow packaging of self-cycles with -Zpackage-workspace (rust-lang/cargo#15626) - docs: clarify `--all-features` not available for all commmands (rust-lang/cargo#15572) - Remove double reference in Shell::print_json (rust-lang/cargo#15460) - fix(trim-paths): remap all paths to `build.build-dir` (rust-lang/cargo#15614) - test(trim-paths): enable more tests for windows-msvc (rust-lang/cargo#15621) - fix(fingerprint): explicit reason rather than "stale; unknown reason" (rust-lang/cargo#15617) - Fix cargo add overwriting symlinked Cargo.toml files (rust-lang/cargo#15281) - chore(deps): update alpine docker tag to v3.22 (rust-lang/cargo#15616) r? ghost
2025-06-10fmtThe Miri Cronjob Bot-1/+0
2025-06-10Merge from rustcThe Miri Cronjob Bot-384/+772
2025-06-10Preparing for merge from rustcThe Miri Cronjob Bot-1/+1