about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-04-10Merge pull request #4262 from RalfJung/win-pathRalf Jung-36/+107
path: add more Windows tests
2025-04-10make GetFullPathNameW more correct on non-Windows hostsRalf Jung-38/+104
2025-04-10mention --edition restrictions in rustc-dev-guidePietro Albini-8/+8
2025-04-10Rollup merge of #139592 - camelid:doctest-md-opts, r=notriddleMatthias Krüger-1/+1
rustdoc: Enable Markdown extensions when looking for doctests Fixes #139064. We should enable these to avoid misinterpreting uses of the extended syntax as code blocks. This happens in practice with multi-paragraph footnotes, as discovered in #139064.
2025-04-10Rollup merge of #139560 - programmerjake:patch-5, r=jieyouxuMatthias Krüger-1/+1
fix title of offset_of_enum feature tracking issue #120141
2025-04-10Rollup merge of #139507 - Zalathar:trim-env-name, r=jieyouxuMatthias Krüger-16/+13
compiletest: Trim whitespace from environment variable names When a test contains a directive like `//@ exec-env: FOO=bar`, compiletest currently includes that leading space in the name of the environment variable, so it is defined as ` FOO` instead of `FOO`. This is an annoying footgun that is pretty much never intended, especially since most other directives *do* trim whitespace. So let's get rid of it by trimming the environment variable name. Values remain untrimmed, since there could conceivably be a use-case for values with leading space, but perhaps we'll end up trimming values too in the future. Recently observed in https://github.com/rust-lang/rust/pull/138603#issuecomment-2783709359. Fixes #132990. Supersedes #133148. --- try-job: test-various
2025-04-10Rollup merge of #138605 - xizheyin:issue-138567, r=GuillaumeGomezMatthias Krüger-20/+17
Clean up librustdoc::html::render to be better encapsulated Closes #138567
2025-04-10Rollup merge of #138167 - ↵Matthias Krüger-10/+12
GuillaumeGomez:rustdoc-hidden-stripper-improvement, r=camelid Small code improvement in rustdoc hidden stripper This is a very minor code improvement following https://github.com/rust-lang/rust/pull/137534. It doesn't change anything about the performance issue. r? ```@notriddle```
2025-04-10Merge pull request #4209 from LorrensP-2158466/freebsd_futexRalf Jung-1/+521
Implement FreeBSD syscall _umtx_op for futex support
2025-04-10Merge pull request #19559 from ChayimFriedman2/rust-186Lukas Wirth-1258/+1010
internal: Switch to Rust 1.86.0
2025-04-10feature: implement WAIT & WAKE operations of FreeBSD _umtx_op syscall for ↵LorrensP-2158466-1/+521
Futex support
2025-04-10handle `config.channel` default for tarballsonur-ozkan-15/+18
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-04-10Remove all upcasts!Chayim Refael Friedman-1257/+1009
It turns out there were a lot redundant too.
2025-04-10Update MSRV to Rust 1.86.0Chayim Refael Friedman-1/+1
2025-04-10include --edition in the compiletest stampPietro Albini-0/+1
2025-04-10prevent configuring the edition with //@compile-flagsPietro Albini-1/+7
2025-04-10ensure //@compile-flags are last even when passing --editionPietro Albini-2/+6
2025-04-10Update crates/hir-def/src/resolver.rsHayashi Mikihiro-1/+1
Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2025-04-10TypeNs contain moduleHayashi Mikihiro-88/+71
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10return single optionHayashi Mikihiro-78/+59
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10fix: shadow type by moduleHayashi Mikihiro-72/+281
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-10compiletest: update to Edition 2024Jieyou Xu-15/+44
2025-04-10Apply LTO when building rustc toolsJakub Beránek-1/+3
2025-04-10path: add more Windows testsRalf Jung-1/+6
2025-04-10Fix a small bug with catastrophic effectsChayim Refael Friedman-1/+1
The tiny bug was that `FnFlags::DEPRECTAED_SAFE_2024` and `FnFlags::RUSTC_ALLOW_INCOHERENT_IMPLS` were assigned the same value. The catastrophic effect was that every function marked as `#[rustc_allow_incoherent_impl]` was considered safe-deprecated for edition 2024, which caused it to be considered unsafe to call when called from edition 2024. And that includes `<[_]>::into_vec()`, which is called by the `vec![]` macro. So, catastrophic effect. This innocent-looking bug probably arose from the item tree rewrite. No review would've catch that!
2025-04-10rustc-dev-guide: document `needs-crate-type`Jieyou Xu-1/+6
2025-04-10compiletest: add `needs-crate-type` directiveJieyou Xu-2/+117
The `//@ needs-crate-type: $crate_types...` directive takes a comma-separated list of crate types that the target platform must support in order for the test to be run.
2025-04-10compiletest: don't use stringly paths for `compose_and_run`Jieyou Xu-22/+23
2025-04-10Auto merge of #139279 - BoxyUwU:bump-boostrap, r=jieyouxubors-503/+473
Bump boostrap compiler to new beta try-job: `*msvc*`
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-19/+19
It bugs me when variables of type `Ident` are called `name`. It leads to silly things like `name.name`. `Ident` variables should be called `ident`, and `name` should be used for variables of type `Symbol`. This commit improves things by by doing `s/name/ident/` on a bunch of `Ident` variables. Not all of them, but a decent chunk.
2025-04-10update miniz_oxide to 0.8.8oyvindln-6/+6
0.8.7 can trigger a panic when debug assertions are enabled when used via flate2 in some cases
2025-04-09Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebotUrgau-0/+6
2025-04-09set `rust.channel` to "auto-detect" for `dist` profileonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2025-04-09triagebot: enable `[canonicalize-issue-links]` and `[no-mentions]`Urgau-0/+6
2025-04-09Rollup merge of #139575 - timesince:master, r=wesleywiserMatthias Krüger-1/+1
Remove redundant words Remove redundant words
2025-04-09Rollup merge of #139489 - petrochenkov:noreqann, r=jieyouxuMatthias Krüger-15/+41
compiletest: Add directive `dont-require-annotations` for making matching on specific diagnostic kinds non-exhaustive. E.g. `//@ dont-require-annotations:ERROR`, like in the examples in this PR. cc https://github.com/rust-lang/rust/pull/139427#issuecomment-2782827583 Closes #132647 FYI `@BoxyUwU` since you've wanted this. r? `@jieyouxu`
2025-04-09Rollup merge of #139488 - GuillaumeGomez:add-missing-gui-test, r=camelidMatthias Krüger-1/+1
Add missing regression GUI test Add missing GUI test for #139282 (and also fixes the invalid CSS). cc `@lolbinarycat` r? `@notriddle`
2025-04-09add sitemap to rust docsbinarycat-0/+7
2025-04-09rustdoc: Enable Markdown extensions when looking for doctestsNoah Lev-1/+1
We should enable these to avoid misinterpreting uses of the extended syntax as code blocks. This happens in practice with multi-paragraph footnotes, as discovered in #139064.
2025-04-09Merge pull request #19553 from davidbarsky/davidbarsky/fix-rustdoc-testsDavid Barsky-4/+4
internal: fix `NameGenerator`'s and `AnyMap`'s rustdocs
2025-04-09internal: fix `NameGenerator`'s and `AnyMap`'s rustdocsDavid Barsky-4/+4
2025-04-09internal: rename `children_modules` to `child_modules`David Barsky-39/+45
2025-04-09Add a Miri test for 134713Scott McMurray-0/+30
2025-04-09Merge pull request #19550 from Veykril/push-rsskztqzwuzkLukas Wirth-87/+104
refactor: Turn `LifetimeRef` into an enum
2025-04-09refactor: Turn `LifetimeRef` into an enumLukas Wirth-87/+104
This makes things more structured
2025-04-09Rollup merge of #139573 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-801/+789
Miri subtree update r? `@ghost`
2025-04-09Rollup merge of #139481 - Kobzol:post-merge-links, r=marcoieniMatthias Krüger-11/+153
Add job summary links to post-merge report This should make it much easier to investigate the individual job test/duration changes. The GitHub API handling is a bit crude, but I didn't want to include octocrab, because it more than doubles the current number of dependencies of `citool`... Can be tested with: ```bash $ cargo run --manifest-path src/ci/citool/Cargo.toml post-merge-report bad13a970a136389187dd1cf2f2fc737a8bea5fc 1e008dd5d83e782ad37fc9cf6824733f824cc8cd ``` r? ```@marcoieni```
2025-04-09librustdoc: remove IndexItem::new, use previous fields constructorxizheyin-51/+19
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
2025-04-09Update boostrapBoxy-31/+11
2025-04-09clippy lintsBoxy-6/+2