about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-12-23build_helper: add `recursive_remove` helperJieyou Xu-0/+284
`recursive_remove` is intended to be a wrapper around `std::fs::remove_dir_all`, but which also allows the removal target to be a non-directory entry, i.e. a file or a symlink. It also tries to remove read-only attributes from filesystem entities on Windows for non-dir entries, as `std::fs::remove_dir_all` handles the dir (and its children) read-only cases. Co-authored-by: Chris Denton <chris@chrisdenton.dev>
2024-12-23run_make_support: extract `copy_symlink` helper许杰友 Jieyou Xu (Joe)-26/+44
2024-12-22miri-script: add option to compare with baseline resultsRalf Jung-8/+50
2024-12-22miri-script: support saving bench results in a baseline JSON fileRalf Jung-10/+60
2024-12-22Update clippyScott McMurray-1/+1
2024-12-22Merge pull request #18742 from Veykril/push-yswvkzmsvqqlLukas Wirth-7/+7
fix: Fix flycheck workspace when requested but package was found
2024-12-22fix: Fix flycheck workspace when requested but package was foundLukas Wirth-7/+7
2024-12-22fix: Delay initial flycheck until after build scriptsLukas Wirth-6/+12
2024-12-22Merge pull request #18738 from Veykril/push-vqxqutskzvvuLukas Wirth-8/+13
fix: Properly check if workspace flychecking is allowed
2024-12-22Merge pull request #18740 from Veykril/push-tntsvtmtlotwLukas Wirth-20/+20
fix: Fix empty check diagnostics not marking files as changed
2024-12-22fix: Fix empty check diagnostics not marking files as changedLukas Wirth-20/+20
2024-12-22Merge pull request #18739 from Veykril/push-ntpvvqnnovtnLukas Wirth-0/+19
fix: Don't trigger paren wrapping typing handler after idents
2024-12-22fix: Properly check if workspace flychecking is allowedLukas Wirth-8/+13
2024-12-22fix: Don't trigger paren wrapping typing handler after identsLukas Wirth-0/+19
2024-12-22Merge pull request #18737 from Veykril/push-rslstwynmzpxLukas Wirth-0/+2
minor: Tell the server to stop prior to restarting it
2024-12-22minor: Tell the server to stop prior to restarting itLukas Wirth-0/+2
2024-12-22Merge pull request #18735 from Veykril/push-rpuxqrzrzvswLukas Wirth-3/+3
fix: Set `result_id` for `RelatedFullDocumentDiagnosticReport` everywhere
2024-12-22fix: Set `result_id` for `RelatedFullDocumentDiagnosticReport` everywhereLukas Wirth-3/+3
2024-12-22cargo updategithub-actions-20/+20
compiler & tools dependencies: Locking 15 packages to latest compatible versions Updating clap_complete v4.5.39 -> v4.5.40 Updating env_filter v0.1.2 -> v0.1.3 Updating env_logger v0.11.5 -> v0.11.6 Updating expect-test v1.5.0 -> v1.5.1 Updating foldhash v0.1.3 -> v0.1.4 Updating miniz_oxide v0.8.1 -> v0.8.2 Updating object v0.36.5 -> v0.36.7 Updating serde_json v1.0.133 -> v1.0.134 Updating thiserror v2.0.7 -> v2.0.9 Updating thiserror-impl v2.0.7 -> v2.0.9 Updating tinyvec v1.8.0 -> v1.8.1 Updating wasm-encoder v0.221.2 -> v0.222.0 Removing wasmparser v0.218.0 Removing wasmparser v0.221.2 Adding wasmparser v0.222.0 Updating wast v221.0.2 -> v222.0.0 Updating wat v1.221.2 -> v1.222.0 note: pass `--verbose` to see 35 unchanged dependencies behind latest library dependencies: Locking 1 package to latest compatible version Updating object v0.36.5 -> v0.36.7 note: pass `--verbose` to see 6 unchanged dependencies behind latest rustbook dependencies: Locking 9 packages to latest compatible versions Updating cc v1.2.0 -> v1.2.5 Updating clap_complete v4.5.39 -> v4.5.40 Updating env_filter v0.1.2 -> v0.1.3 Updating env_logger v0.11.5 -> v0.11.6 Updating libc v0.2.168 -> v0.2.169 Updating miniz_oxide v0.8.1 -> v0.8.2 Updating serde_json v1.0.133 -> v1.0.134 Updating thiserror v2.0.7 -> v2.0.9 Updating thiserror-impl v2.0.7 -> v2.0.9
2024-12-21Rollup merge of #134607 - tbu-:pr_fix_typo3, r=oli-obkMatthias Krüger-2/+2
on pair → on par
2024-12-21Rollup merge of #134581 - erickt:bump_sdk, r=lqdMatthias Krüger-4/+4
Bump Fuchsia toolchain for testing This updates the Fuchsia SDK used to test rust on Fuchsia to 26.20241211.7.1, and clang to the development version 20 from 388d7f144880dcd85ff31f06793304405a9f44b6. ```@steven807``` asked me to take over the PR. Since I don't have commit access to his repo, I just cherry picked his patch here. try-job: dist-various-2 r? lqd
2024-12-21compiletest: Allow using a specific debugger when running debuginfo testsclubby789-6/+23
2024-12-21Revert "Auto merge of #133902 - Kobzol:ci-dist-arm-runner, r=MarcoIeni"Jakub Beránek-5/+5
This reverts commit b597d2a099a1b5b79acef05175a9ac847047f8a1, reversing changes made to ff7906bfe1ed264bf9c4d3abe1940e357b7e61dd.
2024-12-21Fix compiler team name in target tier docsTobias Bucher-1/+1
2024-12-21Format `build.toml` consistently in platform support docsTobias Bucher-7/+7
2024-12-21Auto merge of #134604 - RalfJung:miri-sync, r=RalfJungbors-998/+1473
Miri subtree update r? `@ghost`
2024-12-21on pair → on parTobias Bucher-2/+2
2024-12-21Merge pull request #4103 from RalfJung/remove-unusedRalf Jung-14/+5
remove an unused helper method
2024-12-21remove an unused helper methodRalf Jung-14/+5
2024-12-21Merge pull request #4090 from RalfJung/sc-testRalf Jung-204/+355
add more tests for SC access/fence consistency
2024-12-21Merge from rustcThe Miri Cronjob Bot-136/+108
2024-12-21Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-12-21Auto merge of #134594 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 10 commits in 99dff6d77db779716dda9ca3b29c26addd02c1be..652623b779c88fe44afede28bf7f1c9c07812511 2024-12-18 00:55:17 +0000 to 2024-12-20 15:44:42 +0000 - fix(package): use relpath to cwd for vcs dirtiness report (rust-lang/cargo#14970) - Enable triagebot merge conflict notifications (rust-lang/cargo#14972) - fixed the error message for a user to open the crate (rust-lang/cargo#14969) - fix(package): show dirty filepaths relative to git workdir (rust-lang/cargo#14968) - Add the `test` cfg as a well known cfg before of compiler change (rust-lang/cargo#14963) - refactor(cargo-package): let-else to flatten code (rust-lang/cargo#14959) - fix(cargo-package): add more traces (rust-lang/cargo#14960) - Do not hash absolute sysroot path into stdlib crates metadata. (rust-lang/cargo#14951) - docs: add missing argument to Rustup Cargo workaround (rust-lang/cargo#14954) - fix(cargo-rustc): stabilize higher precedence trailing flags (rust-lang/cargo#14900)
2024-12-20Update cargoWeihang Lo-0/+0
2024-12-21Rollup merge of #128780 - GuillaumeGomez:rustflags-doctests, r=rustdocMatthias Krüger-19/+175
Add `--doctest-compilation-args` option to add compilation flags to doctest compilation Fixes #67533. Tracking issue: https://github.com/rust-lang/rust/issues/134172 It's been something I meant to take a look at for a long time and actually completely forgot... The idea is to allow to give more control over how doctests are compiled to users. To do so, this PR adds a new `--doctest-compilation-args` option which provides extra compilation flags. r? `@notriddle`
2024-12-21fix: only show debug lens with a valid rootroife-15/+19
2024-12-21fix: remove always! check for file_id in runnablesroife-16/+3
2024-12-20change config rust-analyzer.statusBar.documentSelector to showStatusBarMark Murphy-35/+62
2024-12-20Add test to ensure passing `--doctest_compilation_args` multiple times workGuillaume Gomez-1/+1
2024-12-20Move test into the `tests.rs` fileGuillaume Gomez-23/+22
2024-12-20Add explanations on how arguments are splitGuillaume Gomez-0/+19
2024-12-20Split arguments from `--doctest-compilation-args` like a shell wouldGuillaume Gomez-8/+64
2024-12-20Auto merge of #134582 - matthiaskrgr:rollup-i0oyqjw, r=matthiaskrgrbors-1/+1
Rollup of 8 pull requests Successful merges: - #134556 ([tiny] fix missing ns units in bootstrap's benchmark rendering) - #134560 (mri: add track_caller to thread spawning methods for better backtraces) - #134561 (Reduce the amount of explicit FatalError.raise()) - #134562 (tests/codegen/asm: Remove uses of rustc_attrs and lang_items features by using minicore) - #134567 (Remove some dead code around import library generation) - #134570 (remove reference to dangling from slice::Iter) - #134573 (unimplement `PointerLike` for trait objects) - #134574 (next-solver: disable unnecessary hack) r? `@ghost` `@rustbot` modify labels: rollup
2024-12-20Rollup merge of #134556 - the8472:restore-ns-units, r=jieyouxuMatthias Krüger-1/+1
[tiny] fix missing ns units in bootstrap's benchmark rendering
2024-12-20Revert "internal: Drop proc-macro server support for ~1.66.0 and older ↵Lukas Wirth-30/+48
toolchains"
2024-12-20Auto merge of #134564 - Kobzol:revert-aarch64-runner, r=nikicbors-129/+99
Revert "Auto merge of #133809 - mrkajetanp:ci-aarch64-dist, r=Kobzol" This reverts https://github.com/rust-lang/rust/pull/133809, as it produced broken aarch64 artifacts (https://github.com/rust-lang/rust/issues/134563). `@bors` p=1
2024-12-20internal: Standardize how we take iterator parameters in `SyntaxFactory`Giga Bowser-16/+28
2024-12-20Arbitrary self types v2: unstable doc updates.Adrian Taylor-0/+211
Document these two feature flags.
2024-12-20Revert "Auto merge of #133809 - mrkajetanp:ci-aarch64-dist, r=Kobzol"Jakub Beránek-129/+99
This reverts commit 023521e6825edfa6df01e392520d7cb120eab158, reversing changes made to c434b4b4b6cd20560c5b32e80b2b22618a4da3dd.
2024-12-20Add explanations about `--doctest-compilation-args` in rustdoc bookGuillaume Gomez-18/+76