about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2025-04-10Merge pull request #4261 from CraftSpider/windows-rtl-to-dosRalf Jung-1/+29
Implement RtlNtStatusToDosError and shim test for it
2025-04-10Implement RtlNtStatusToDosError and shim test for itRune Tynan-1/+29
2025-04-10Merge pull request #19565 from ↵David Barsky-13/+108
davidbarsky/davidbarsky/add-prime-caches-subcommand internal: add `prime-caches` subcommand
2025-04-10internal: cleanup CLI flag documentationDavid Barsky-10/+10
2025-04-10Rollup merge of #139630 - RalfJung:miri-sync, r=RalfJungMatthias Krüger-229/+1531
Miri subtree update r? `@ghost` a sync is needed to fix the miri-test-libstd failures
2025-04-10Rollup merge of #139609 - jieyouxu:compiletest-path-misc, r=KobzolMatthias Krüger-22/+23
compiletest: don't use stringly paths for `compose_and_run` Eventually I'd like to fully migrate to `camino`'s `{Utf8Path,Utf8PathBuf}` because compiletest assumes UTF-8 paths all over the place, so this is an precursor change to make the migration diff cleaner. r? `@Kobzol` (or bootstrap/compiler)
2025-04-10Rollup merge of #139606 - jieyouxu:compiletest-edition2024, r=compiler-errorsMatthias Krüger-15/+44
Update compiletest to Edition 2024 r? bootstrap (or compiler) try-job: x86_64-apple-1 try-job: x86_64-msvc-1 try-jbo: x86_64-mingw-1
2025-04-10Rollup merge of #139510 - nnethercote:name-to-ident, r=fee1-deadMatthias Krüger-5/+5
Rename some `name` variables as `ident`. 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. r? `@fee1-dead`
2025-04-10internal: add `prime-caches` subcommandDavid Barsky-6/+101
2025-04-10Merge pull request #19566 from flodiebold/push-vzpyzvpkwkytFlorian Diebold-5/+4
Fix dyn compatibility code bypassing callable_item_signature query
2025-04-10Fix dyn compatibility code bypassing callable_item_signature queryFlorian Diebold-5/+4
2025-04-10Bump crossbeam-channel from 0.5.14 to 0.5.15dependabot[bot]-2/+2
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15. - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases) - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15) --- updated-dependencies: - dependency-name: crossbeam-channel dependency-version: 0.5.15 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10chore(deps): bump crossbeam-channel from 0.5.14 to 0.5.15dependabot[bot]-3/+3
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.14 to 0.5.15. - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases) - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.14...crossbeam-channel-0.5.15) --- updated-dependencies: - dependency-name: crossbeam-channel dependency-version: 0.5.15 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10fix: Walk const block expressions for unsafety checkingLukas Wirth-0/+21
2025-04-10run all 'thread' tests on FreeBSD, and also on 32bitRalf Jung-4/+4
2025-04-10fix: Fix invalid signature bitflagsLukas Wirth-103/+100
2025-04-10Allow drivers to supply a list of extra symbols to internAlex Macleod-6/+33
2025-04-10Merge from rustcRalf Jung-244/+174
2025-04-10Preparing for merge from rustcRalf Jung-1/+1
2025-04-10Merge pull request #19461 from Hmikihiro/shadow_by_moduleLukas Wirth-7/+180
fix: shadow type by module
2025-04-10Merge pull request #19555 from Urgau/patch-1Lukas Wirth-0/+6
Enable `[canonicalize-issue-links]` and `[no-mentions]` in triagebot
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-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-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-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-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-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-3/+0
Bump boostrap compiler to new beta try-job: `*msvc*`
2025-04-10Rename some `name` variables as `ident`.Nicholas Nethercote-5/+5
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-4/+4
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-09triagebot: enable `[canonicalize-issue-links]` and `[no-mentions]`Urgau-0/+6
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-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