about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2025-06-11put flag check at the end of command chain in mingw-check-2bit-aloo-4/+5
2025-06-11Fix enter_trace_span!() using wrong $crate pathsStypox-2/+2
2025-06-11move fast reject into innerlcnr-3/+4
to also fast reject inside of the folder
2025-06-11Merge pull request #19973 from Veykril/push-ppltxvqvqmkkLukas Wirth-3/+9
fix: Hide dyn inlay hints for incomplete `impl`s
2025-06-11fix: Hide dyn inlay hints for incomplete `impl`sLukas Wirth-3/+9
2025-06-11Use closure to allow passing custom tracing layersStypox-13/+29
The previous method, where a layer would be passed directly, required to pass a "no-op" layer when no custom layer was needed. This should have in theory worked, however having a no-op layer seems to change the way the tracing lib applies filters internally, leading to some debug!() being printed despite them being out of the minimum level for the filters. Note however that this behavior was very inconsistent, and e.g. some debug!() would get printed and some others wouldn't, for no apparent reason.
2025-06-11Allow initializing logger with additional tracing LayerStypox-3/+26
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-11remove myself from the projectonur-ozkan-3/+2
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-06-11add trace_cmd import in tracing feature in execution contextbit-aloo-0/+2
2025-06-11Auto merge of #141942 - ShoyuVanilla:smir-repr, r=oli-obkbors-6/+132
Implement representation options to smir Resolves rust-lang/project-stable-mir#89
2025-06-11compiler: Update all targets to the new c_int_width typeJubilee Young-7/+7
2025-06-11compiler: Change c_int_width to be an integer typeJubilee Young-19/+17
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-11Merge pull request #19970 from ChayimFriedman2/proc-macro-srv-minusLukas Wirth-31/+26
fix: Fix proc macro server handling of strings with minuses
2025-06-11bump apfloat dependencyRalf Jung-2/+2
2025-06-11Remove useless and wrong std crates special casing when un-remap sysrootUrgau-28/+1
2025-06-11Merge pull request #2463 from rust-lang/tshepang-patch-1Tshepang Mbambo-1/+1
that was phrased like a separate sentence
2025-06-11that was phrased like a separate sentenceTshepang Mbambo-1/+1
2025-06-11Add trim_prefix and trim_suffix for slice and str.Deven T. Corzine-0/+160
Implements `trim_prefix` and `trim_suffix` methods for both `slice` and `str` types which remove at most one occurrence of a prefix/suffix while always returning a string/slice (rather than Option), enabling easy method chaining.
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-11Auto merge of #142090 - compiler-errors:perf-stable-root-var, r=lcnrbors-17/+6
Make root vars more stable Never resolve a ty/ct vid to a higher vid as its root. This should make the optimization in rust-lang/rust#141500 more "stable" when there are a lot of vars flying around. r? `@ghost`
2025-06-11feat: Add `bit_width` for unsigned integer typesShun Sakai-0/+33
2025-06-10Auto merge of #141883 - oli-obk:remove-check-mod-loops, r=nnethercotebors-271/+272
Remove check_mod_loops query and run the checks per-body instead This analysis is older than my first rustc contribution I believe. It was never querified. Ideally we'd merge it into the analysis happening within typeck anyway (typeck just uses span_delayed_bug instead of erroring), but I didn't want to do that within this PR that also moves things around and subtly changes diagnostic ordering.
2025-06-10Remove unneeded `FunctionCx` from some codegen methodsScott McMurray-96/+94
No changes; just removing the `self` that wasn't needed.
2025-06-10Merge pull request #702 from rust-lang/reenable-stdarch-testantoyo-55/+116
Fix sysroot Cargo.lock
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-10Temporarily ignore the test u128-as-f32 to merge the fix of the sysroot ↵Antoni Boucher-0/+1
Cargo.toml
2025-06-10remove ice group pings from `triagebot.toml`cyrgani-23/+0
2025-06-10Auto merge of #142292 - RalfJung:miri-sync, r=RalfJungbors-229/+420
Miri subtree update r? `@ghost`
2025-06-10std::net: adding `unix_socket_exclbind` feature for solaris/illumos.David Carlier-0/+117
allows to have a tigher control over the binding exclusivness of the socket.
2025-06-11Merge pull request #2462 from lolbinarycat/patch-2许杰友 Jieyou Xu (Joe)-1/+2
2025-06-10Remove unneeded `check_id` calls as they are already called in `visit_id` in ↵Guillaume Gomez-2/+0
`EarlyContextAndPass` type
2025-06-10rustdoc search: prefer stable items in search resultsbinarycat-6/+67
fixes https://github.com/rust-lang/rust/issues/138067
2025-06-10Auto merge of #142299 - fmease:rollup-u86s80a, r=fmeasebors-2312/+1837
Rollup of 16 pull requests Successful merges: - rust-lang/rust#134442 (Specify the behavior of `file!`) - rust-lang/rust#140372 (Exhaustively handle parsed attributes in CheckAttr) - rust-lang/rust#140766 (Stabilize keylocker) - rust-lang/rust#141642 (Note the version and PR of removed features when using it) - rust-lang/rust#141818 (Don't create .msi installer for gnullvm hosts) - rust-lang/rust#141909 (Add central execution context to bootstrap) - rust-lang/rust#141992 (use `#[naked]` for `__rust_probestack`) - rust-lang/rust#142101 (core::ptr: deduplicate more method docs) - rust-lang/rust#142102 (docs: Small clarification on the usage of read_to_string and read_to_end trait methods) - rust-lang/rust#142124 (Allow transmute casts in pre-runtime-MIR) - rust-lang/rust#142240 (deduplicate the rest of AST walker functions) - rust-lang/rust#142258 (platform-support.md: Mention specific Linux kernel version or later) - rust-lang/rust#142262 (Mark `core::slice::memchr` as `#[doc(hidden)]`) - rust-lang/rust#142271 (compiler: fn ptrs should hit different lints based on ABI) - rust-lang/rust#142275 (rustdoc: Refractor `clean_ty_generics`) - rust-lang/rust#142288 (const_eval: fix some outdated comments) r? `@ghost` `@rustbot` modify labels: rollup
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-10Dont unwrap and re-wrap typing envsMichael Goulet-11/+7
2025-06-11Configure bootstrap backport nominations via triagebotJieyou Xu-0/+35
2025-06-10Fix sysroot Cargo.lockAntoni Boucher-55/+115
2025-06-10format integer tests regrouped, min/max coverage and 128-bit coveragePascal S. de Kloe-36/+121
2025-06-10Modify some run-make tests to use `//@ needs-target-std`Jieyou Xu-24/+6
Instead of a jumble of `ignore-$target`s, `ignore-none` and `ignore-nvptx`.
2025-06-10core docs: improve clarity of considerations about atomic CAS operationsGray Olson-33/+146
- Rewords existing Considerations section on `fetch_update` and friends to make clear that the limitations are inherent to an implementation based on any CAS operation, rather than the weak version of `compare_exchange` in particular - Add Considerations to `compare_exchange` and `compare_exchange_weak` which details similar considerations and when they may be relevant.
2025-06-10Rollup merge of #142288 - RalfJung:const-eval-comments, r=oli-obkLeón Orell Valerian Liehr-12/+8
const_eval: fix some outdated comments r? ``@oli-obk``