about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2025-07-28Don't show '$saved_file' literally in IDE status updatesWilfred Hughes-1/+12
We've had a few users get confused when VS Code shows `my_custom_check --args $saved_file`, as it looks like substitution didn't occur. Instead, show `my_custom_check --args ...` in the display output. This is also shorter, and the VS Code status bar generally works best with short text.
2025-07-28remove the markersTshepang Mbambo-136/+0
2025-07-28add --link-targets-dir flag to linkcheckerPietro Albini-25/+52
2025-07-28add an argument parser to linkcheckerPietro Albini-5/+46
2025-07-28bump linkchecker to edition 2024Pietro Albini-1/+1
2025-07-28add support for ./x check src/tools/linkcheckerPietro Albini-0/+7
2025-07-28Reduce required cc crate version.Patrick-6-4/+6
2025-07-28avoid the need to specify if toc should be generatedTshepang Mbambo-11/+198
- this removes one external dependency, mdbook-toc - this steals code from rustc book
2025-07-28reword to avoid using a term used in a confusing manner, "error annotations"Tshepang Mbambo-2/+3
2025-07-28fix pausesTshepang Mbambo-2/+2
2025-07-28revert accidental changeRalf Jung-1/+5
2025-07-28Merge commit 'abd9cba5acbcc35fb4cc59ce25580fa1624b5571'Ralf Jung-1461/+3947
2025-07-28prepare for syncRalf Jung-1/+1
2025-07-28Rollup merge of #144399 - bjorn3:stdlib_tests_separate_packages, ↵Matthias Krüger-35/+58
r=Mark-Simulacrum Add a ratchet for moving all standard library tests to separate packages https://github.com/rust-lang/rust/pull/136642 is the previous PR in this series. See https://github.com/rust-lang/rust/pull/135937 for the rationale of wanting to move all standard library tests to separate packages. This also fixes std_detect testing on riscv.
2025-07-28Rollup merge of #144300 - hkBst:clippy-fix-7, r=Mark-SimulacrumMatthias Krüger-13/+12
Clippy fixes for miropt-test-tools
2025-07-28Merge ref '733dab558992' from rust-lang/rustThe rustc-josh-sync Cronjob Bot-3960/+6253
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 733dab558992d902d6d17576de1da768094e2cf3 Filtered ref: 8f0faf94fb41d4e2a85ef2d23e5495f6bea1f31d This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-28Prepare for merging from rust-lang/rustThe rustc-josh-sync Cronjob Bot-1/+1
This updates the rust-version file to 733dab558992d902d6d17576de1da768094e2cf3.
2025-07-28Adjust triagebot config for rustc-josh-syncLaurențiu Nicola-0/+1
2025-07-28Merge ref '2b5e239c6b86' from rust-lang/rustThe rustc-josh-sync Cronjob Bot-1466/+3923
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: 2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5 Filtered ref: dde2393b3444ae8595633863f4395f526b1b7932 This merge was created using https://github.com/rust-lang/josh-sync.
2025-07-28Prepare for merging from rust-lang/rustThe rustc-josh-sync Cronjob Bot-1/+1
This updates the rust-version file to 2b5e239c6b86cde974b0ef0f8e23754fb08ff3c5.
2025-07-28Rollup merge of #144535 - RalfJung:abi-mismatch-err, r=compiler-errorsMatthias Krüger-22/+19
miri: for ABI mismatch errors, say which argument is the problem
2025-07-28Rollup merge of #144523 - ojeda:rustdoc-target-modifiers, r=GuillaumeGomezMatthias Krüger-0/+6
rustdoc: save target modifiers `rustdoc` was filling a `target_modifiers` variable, but it was not using the result. In turn, that means that trying to use a dependency that set a target modifier fails. For instance, running: ```sh RUSTC_BOOTSTRAP=1 rustc --edition=2024 --target=aarch64-unknown-none-softfloat --sysroot=/dev/null --emit=metadata -Zfixed-x18 --crate-type rlib --crate-name core $(rustc --print sysroot)/lib/rustlib/src/rust/library/core/src/lib.rs echo '#![allow(internal_features)] ' | RUSTC_BOOTSTRAP=1 rustdoc --edition=2021 --target=aarch64-unknown-none-softfloat --sysroot=/dev/null -Zfixed-x18 --extern core=libcore.rmeta - ``` will fail with: ```text error: mixing `-Zfixed-x18` will cause an ABI mismatch in crate `rust_out` | = help: the `-Zfixed-x18` flag modifies the ABI so Rust crates compiled with different values of this flag cannot be used together safely = note: unset `-Zfixed-x18` in this crate is incompatible with `-Zfixed-x18=` in dependency `core` = help: set `-Zfixed-x18=` in this crate or unset `-Zfixed-x18` in `core` = help: if you are sure this will not cause problems, you may use `-Cunsafe-allow-abi-mismatch=fixed-x18` to silence this error ``` Thus save the targets modifiers in `Options` to then pass it to the session options, so that eventually the diff can be performed as expected in `report_incompatible_target_modifiers()`. Cc: ``@azhogin`` Fixes: https://github.com/rust-lang/rust/issues/144521
2025-07-28Rollup merge of #144495 - klensy:cargo_metadata, r=lqdMatthias Krüger-11/+12
bump cargo_metadata Bumps cargo_metadata. Change that required fixes is: https://github.com/oli-obk/cargo_metadata/commit/e3373d02e79dc64adbecb3fe32fecc1dd324bba6
2025-07-28Rollup merge of #143607 - JonathanBrouwer:proc_macro_attrs, ↵Matthias Krüger-34/+21
r=jdonszelmann,traviscross Port the proc macro attributes to the new attribute parsing infrastructure Ports `#[proc_macro]`, `#[proc_macro_attribute]`, `#[proc_macro_derive]` and `#[rustc_builtin_macro]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971351163 I've split this PR into commits for reviewability, and left some comments to clarify things I did 4 related attributes in one PR because they share a lot of their code and logic, and doing them separately is kind of annoying as I need to leave both the old and new parsing in place then. r? ``@oli-obk`` cc ``@jdonszelmann``
2025-07-27centralize clockid_t interpretationRalf Jung-114/+79
2025-07-27fix: Consider all produced artifacts for proc-macro dylib searchLukas Wirth-21/+15
2025-07-27Ignore `Destruct` bounds againLukas Wirth-2/+41
2025-07-27Cleanup unstable flags handlingLukas Wirth-19/+18
2025-07-27miri: for ABI mismatch errors, say which argument is the problemRalf Jung-22/+19
2025-07-27Copy lockfile when building build scriptsLukas Wirth-73/+76
2025-07-27internal: Better type proc macro dylib build data stateLukas Wirth-114/+175
2025-07-27Merge pull request #4498 from RalfJung/genmc-buildRalf Jung-42/+1130
Add support for building and linking against genmc
2025-07-27Merge pull request #20305 from Hmikihiro/Migrate_part_of_utilsShoyu Vanilla (Flint)-3/+5
Migrate part of utils.rs to use SyntaxEditor
2025-07-27various minor adjustmentsRalf Jung-79/+49
2025-07-27Add support for building and linking against genmcPatrick-6-42/+1160
2025-07-27Migrate `convert_tuple_struct_to_named_struct' assist to use `SyntaxEditor'Hayashi Mikihiro-35/+68
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-27migrate `fn edit_struct_def` in `convert_tuple_struct_to_named_struct` to ↵Hayashi Mikihiro-30/+24
SyntaxEditor Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-27remove ted from convert_tuple_struct_to_named_structHayashi Mikihiro-5/+7
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-07-27Migrate `inline_type_alias` assist to use `SyntaxEditor`Hmikihiro-29/+34
2025-07-27refactor: conpare text of name_ref instead of syntax name_refHmikihiro-1/+4
2025-07-27Merge pull request #4497 from RalfJung/check-shimRalf Jung-793/+897
introduce a macro for shim signature checking
2025-07-27Unherit server extra env for runnables extra envLukas Wirth-36/+33
2025-07-27fix: Fix runnables extra env not substituting env varsLukas Wirth-50/+53
2025-07-27introduce a macro for shim signature checkingRalf Jung-795/+900
Co-Authored-By: geetanshjuneja <ronitjuneja2002@gmail.com>
2025-07-27Merge pull request #20290 from ShoyuVanilla/tmp-lockfilesLukas Wirth-6/+54
Use `TempDir` for copied lockfiles
2025-07-27call_function helper: dont ICE on return type mismatchesRalf Jung-2/+54
2025-07-27bump cargo_metadataklensy-11/+12
2025-07-27Rollup merge of #144454 - folkertdev:uefi-tests, r=jieyouxuMatthias Krüger-215/+5
move uefi test to run-make Turn the `uefi` test into a more standard `run-make` test, and execute it using the `test-various` CI job like before. This is just a straightforward translation of the python code, but using `run-make` to supply the target (hence the 3 separate calls in the docker file). r? ```@jieyouxu``` cc ```@nicholasbishop``` try-job: test-various
2025-07-27move download_rustfmt out of impl as its used during config initializationbit-aloo-0/+66
2025-07-27move download_beta_toolchain out of impl as its used during config ↵bit-aloo-0/+25
initialization