about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-06-14Update cargoWeihang Lo-0/+0
2024-06-15Auto merge of #122613 - Zalathar:profiler, r=nnethercotebors-3/+0
Don't build a broken/untested profiler runtime on mingw targets Context: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Why.20build.20a.20broken.2Funtested.20profiler.20runtime.20on.20mingw.3F #75872 added `--enable-profiler` to the `x86_64-mingw` job (to cause some additional tests to run), but had to also add `//@ ignore-windows-gnu` to all of the tests that rely on the profiler runtime actually *working*, because it's broken on that target. We can achieve a similar outcome by going through all the `//@ needs-profiler-support` tests that don't actually need to produce/run a binary, and making them use `-Zno-profiler-runtime` instead, so that they can run even in configurations that don't have the profiler runtime available. Then we can remove `--enable-profiler` from `x86_64-mingw`, and still get the same amount of testing. This PR also removes `--enable-profiler` from the mingw dist builds, since it is broken/untested on that target. Those builds have had that flag for a very long time.
2024-06-14rewrite native-link-modifier-verbatim-rustc to rmakeOneirical-1/+0
2024-06-14rewrite output-filename-overwrites-input to rmakeOneirical-1/+0
2024-06-14rewrite output-filename-conflicts-with-directory to rmakeOneirical-1/+0
2024-06-14rewrite error-found-staticlib-instead-crate to rmakeOneirical-1/+0
2024-06-14rewrite incremental-debugger-visualiser to rmakeOneirical-1/+22
2024-06-14Add `f16` and `f128` support to MiriTrevor Gross-101/+56
2024-06-14rewrite extern-flag-fun to rmakeOneirical-1/+0
2024-06-14rewrite invalid-staticlib to rmakeOneirical-2/+0
2024-06-14rewrite and rename issue-64153 to rmake.rsOneirical-46/+32
2024-06-14Migrate `run-make/codegen-options-parsing` to `rmake.rs`Guillaume Gomez-1/+0
2024-06-14End support for Python 3.8 in tidyDianQK-14/+4
2024-06-14Regenerate `requirements.txt` by Python 3.9DianQK-45/+8
2024-06-14add Miri testsRalf Jung-0/+61
2024-06-14Auto merge of #126463 - matthiaskrgr:rollup-lnkfibf, r=matthiaskrgrbors-3/+20
Rollup of 5 pull requests Successful merges: - #124884 (place explicit lifetime bound after generic param) - #126343 (Remove some msys2 utils) - #126351 (std::unix::fs::link using direct linkat call for Solaris.) - #126368 (Remove some unnecessary crate dependencies.) - #126386 (Migrate `run-make/allow-non-lint-warnings-cmdline` to `rmake.rs`) r? `@ghost` `@rustbot` modify labels: rollup
2024-06-14Rollup merge of #126386 - ↵Matthias Krüger-3/+20
GuillaumeGomez:migrate-run-make-allow-non-lint-warnings-cmdline, r=jieyouxu Migrate `run-make/allow-non-lint-warnings-cmdline` to `rmake.rs` Part of https://github.com/rust-lang/rust/issues/121876. r? ```@jieyouxu```
2024-06-14Rollup merge of #126270 - GuillaumeGomez:migrate-run-make-const_fn_mir, ↵Matthias Krüger-7/+16
r=jieyouxu Migrate run make const fn mir Part of https://github.com/rust-lang/rust/issues/121876. r? ```@jieyouxu```
2024-06-14Auto merge of #17417 - Wilfred:intern_macros_salsa, r=Veykrilbors-32/+36
refactor: Prefer plain trait definitions over macros for impl_intern_value_trivial `impl_intern_value_trivial` can be defined with a trait directly, so prefer that over a macro definition.
2024-06-14allow format_args! expansionIshan Jain-1/+2
2024-06-14fixed testsIshan Jain-1/+7
2024-06-14added testsIshan Jain-0/+26
2024-06-14Remove `//@ ignore-windows-gnu` from tests that need the profilerZalathar-3/+0
The profiler runtime is no longer built in mingw test jobs, so these tests should naturally be skipped by `//@ needs-profiler-support`.
2024-06-13Prefer plain trait definitions over macros for salsaWilfred Hughes-32/+36
2024-06-13internal: Fix rustdoc warningsWilfred Hughes-32/+33
`cargo doc` generates a bunch of warnings on rust-analyzer. Fix all the bare URL and empty code block warnings.
2024-06-13Rollup merge of #126371 - estebank:suggest-core, r=fmeaseMatthias Krüger-3/+1
Tweak output of import suggestions When both `std::` and `core::` items are available, only suggest the `std::` ones. We ensure that in `no_std` crates we suggest `core::` items. Ensure that the list of items suggested to be imported are always in the order of local crate items, `std`/`core` items and finally foreign crate items. Tweak wording of import suggestion: if there are multiple items but they are all of the same kind, we use the kind name and not the generic "items". Fix #83564.
2024-06-13Rollup merge of #126088 - onur-ozkan:brooming, r=albertlarsan68Matthias Krüger-159/+138
[1/2] clean-up / general improvements This PR applies various clippy suggestions on the tools. I have only applied the ones that make sense and left out trivial changes (e.g., suggestions like 'remove &' are ignored to keep the original commit history for the lines). I am planning to do the same for the library and compiler, but those will add too many changes to this PR, so I will handle them in a separate PR later.
2024-06-13Tweak output of import suggestionsEsteban Küber-3/+1
When both `std::` and `core::` items are available, only suggest the `std::` ones. We ensure that in `no_std` crates we suggest `core::` items. Ensure that the list of items suggested to be imported are always in the order of local crate items, `std`/`core` items and finally foreign crate items. Tweak wording of import suggestion: if there are multiple items but they are all of the same kind, we use the kind name and not the generic "items". Fix #83564.
2024-06-13fix: Only show unlinked-file diagnostic on first line during startupWilfred Hughes-3/+23
This partially reverts #17350, based on the feedback in #17397. If we don't have an autofix, it's more annoying to highlight the whole line. This heuristic fixes the diagnostic overwhelming the user during startup.
2024-06-13Auto merge of #3622 - TDecking:sse4_2, r=RalfJungbors-0/+949
Implement LLVM x86 SSE4.2 intrinsics SSE4.2 is arguably the least important SIMD extension for the x86 ISA, but it should still be supported for the sake of completeness.
2024-06-13document --many-seeds; set the default range to 0..64Ralf Jung-20/+20
2024-06-13cargo miri: add support for '--many-seeds' to run the program / tests many ↵Ralf Jung-88/+155
times with different seeds
2024-06-13add some more CRC testsRalf Jung-0/+20
2024-06-13Implement LLVM x86 SSE4.2 intrinsicsTobias Decking-0/+929
2024-06-13Auto merge of #126398 - flip1995:clippy-subtree-update, r=Manishearthbors-1667/+3098
Clippy subtree update r? `@Manishearth` Updates `Cargo.lock` with Clippy version bump.
2024-06-13tidy: apply considerable clippy suggestionsonur-ozkan-58/+52
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13opt-dist: apply considerable clippy suggestionsonur-ozkan-5/+3
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13lint-docs: apply considerable clippy suggestionsonur-ozkan-10/+10
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13remote-test-client: apply considerable clippy suggestionsonur-ozkan-6/+4
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13remote-test-server: apply considerable clippy suggestionsonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13jsondoclint: apply considerable clippy suggestionsonur-ozkan-7/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13build-manifest: apply considerable clippy suggestionsonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13build_helper: apply considerable clippy suggestionsonur-ozkan-15/+11
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13compiletest: apply considerable clippy suggestionsonur-ozkan-56/+51
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-06-13Auto merge of #17407 - davidbarsky:david/fix-17402, r=Veykrilbors-8/+9
fix: avoid doubling cargo args in runnables Fixes #17402. Sorry about this—I think I missed up the rebase!
2024-06-13fix: avoid doubling cargo args in runnablesDavid Barsky-8/+9
2024-06-13Fix socketpair and epoll_create1's throw_unsup_format wordingtiif-7/+10
2024-06-13Auto merge of #125289 - WaffleLapkin:never-obligations, r=compiler-errorsbors-6/+2
Implement lint for obligations broken by never type fallback change This is the second (and probably last major?) lint required for the never type fallback change. The idea is to check if the code errors with `fallback = ()` and if it errors with `fallback = !` and if it went from "ok" to "error", lint. I'm not happy with the diagnostic, ideally we'd highlight what bound is the problem. But I'm really unsure how to do that (cc `@jackh726,` iirc you had some ideas?) r? `@compiler-errors` Thanks `@BoxyUwU` with helping with trait solver stuff when I was implementing the initial version of this lint. Tracking: - https://github.com/rust-lang/rust/issues/123748
2024-06-13Update run-make-support/diff to new `fs_wrapper` APIGuillaume Gomez-6/+4
2024-06-13Rollup merge of #126370 - Zalathar:normalize, r=oli-obkLeón Orell Valerian Liehr-61/+74
compiletest: Stricter parsing of `//@ normalize-*` headers I noticed some problems with the existing parser for these headers: - It is extremely lax, and basically ignores everything other than the text between two pairs of double-quote characters. - Unlike other name-value headers, it doesn't even check for a colon after the header name, so the test suite contains a mixture of with-colon and without-colon normalization rules. - If parsing fails, the header is silently ignored. The latter is especially bad for platform-specific normalization rules, because the lack of normalization probably won't be noticed until the test mysteriously fails in one of the full CI jobs.