about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2024-04-25Auto merge of #17134 - Veykril:lt-err-display, r=Veykrilbors-586/+631
internal: Don't render unknown lifetimes when rendering generic args cc https://github.com/rust-lang/rust-analyzer/issues/17098
2024-04-25Auto merge of #17021 - roife:add-hover-limits-for-adts, r=Veykrilbors-97/+563
Support hovering limits for adts Fix #17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
2024-04-25Auto merge of #3512 - RalfJung:miri-script-build, r=RalfJungbors-1/+3
make miri-script a workspace root This is needed to make miri-script build on stable (as is done by the `./miri` script) when the parent package uses unstable cargo features.
2024-04-25Add inlay hints lifetime arg testsLukas Wirth-8/+27
2024-04-25Auto merge of #16972 - joshka:cargo-run-runnable, r=Veykrilbors-2/+6
Make `cargo run` always available for binaries Previously, items for `cargo test` and `cargo check` would appear as in the `Select Runnable` quick pick that appears when running `rust-analyzer: Run`, but `run` would only appear as a runnable if a `main`` function was selected in the editor. This change adds `cargo run` as an always available runnable command for binary packages. This makes it easier to develop cli / tui applications, as now users can run application from anywhere in their codebase.
2024-04-25Auto merge of #3513 - rust-lang:rustup-2024-04-25, r=RalfJungbors-188/+249
Automatic Rustup
2024-04-25Auto merge of #3505 - RalfJung:ci, r=RalfJungbors-1/+1
CI: don't run cron-fail-notify when the job just got canceled Doesn't seem right to prepare a PR in that case
2024-04-25fmtThe Miri Cronjob Bot-80/+149
2024-04-25Merge from rustcThe Miri Cronjob Bot-128/+120
2024-04-25Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-04-25Rollup merge of #124257 - JoverZhang:rmake-diff, r=jieyouxuMatthias Krüger-1/+130
Rewrite the `no-input-file.stderr` test in Rust and support diff Rewrite the `no-input-file.stderr` test from #121876. Use the `similar` lib to replace the `diff` command.
2024-04-25Rewrite `no-input-file.stderr` test in Rust and support diffJover Zhang-1/+130
2024-04-25Rollup merge of #124335 - ChrisDenton:stabilize-absolute, r=dtolnayMatthias Krüger-2/+0
Stabilize `std::path::absolute` FCP complete in https://github.com/rust-lang/rust/issues/92750#issuecomment-2075046985
2024-04-25Rollup merge of #124333 - Urgau:better-bad-print, r=fmeaseMatthias Krüger-1/+0
Improve diagnostic for unknown `--print` request This PR improves the diagnostic when encountering a unknown `--print` request. It also moves the run-make test to a simple UI test.
2024-04-24Drop unknown lifetimes when rendering generic argsLukas Wirth-578/+604
2024-04-24Skip dlltool tests on non `*windows-gnu` targetsMateusz Mikuła-0/+5
2024-04-24Refactor dlltool searching code into separate functionMateusz Mikuła-46/+19
2024-04-24make miri-script a workspace rootRalf Jung-1/+3
2024-04-24Upgrade to `actions/checkout@v4` in `ci.yml`.Predrag Gruevski-3/+3
This is a newer version of the same action. None of the uses here were particularly special (no complex features of v3 were used) so this is a straightforward as-is upgrade.
2024-04-24Stabilize `std::path::absolute`Chris Denton-2/+0
2024-04-24Improve diagnostic for unknown --print requestUrgau-1/+0
2024-04-24unix_sigpipe: don't inline DEFAULT, just use it from rustcRalf Jung-3/+2
2024-04-24Auto merge of #3492 - eduardosm:intrinsics-x86-avx2, r=oli-obkbors-257/+2474
Implement LLVM x86 AVX2 intrinsics
2024-04-24Fix miri testGary Guo-1/+1
2024-04-24Fix and bless clippy testsGary Guo-79/+74
2024-04-24fix: move no_std check out of loopJosh McKinney-1/+2
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-45/+45
And suggest adding the `#[coroutine]` to the closure
2024-04-24Auto merge of #3507 - RalfJung:let-underscore, r=RalfJungbors-15/+15
avoid 'let _' in tests where we actually want the value to be computed
2024-04-24avoid 'let _' in tests where we actually want the value to be computedRalf Jung-15/+15
2024-04-24Auto merge of #3502 - RalfJung:GetUserProfileDirectoryW, r=RalfJungbors-67/+184
windows: basic support for GetUserProfileDirectoryW Fixes https://github.com/rust-lang/miri/issues/3499
2024-04-24avoid some unnecessary Scalar-i32-Scalar roundtripsRalf Jung-10/+10
2024-04-24make the obsucre truncating variant of this.write_os_str_to_wide_str a ↵Ralf Jung-51/+52
non-default function
2024-04-24windows buffer size protocol: turns out std resets last_error to 0; let's ↵Ralf Jung-11/+15
require that in general
2024-04-24windows: basic support for GetUserProfileDirectoryWRalf Jung-2/+114
2024-04-24Merge from rustcThe Miri Cronjob Bot-46/+138
2024-04-24Preparing for merge from rustcThe Miri Cronjob Bot-1/+1
2024-04-23Update cargoWeihang Lo-0/+0
2024-04-23Rollup merge of #124286 - bjorn3:sync_cg_clif-2024-04-23, r=bjorn3Matthias Krüger-0/+1
Subtree sync for rustc_codegen_cranelift This fixes a crash when compiling the standard library. In addition the Cranelift update fixes all the 128bit int abi incompatibility between cg_clif and cg_llvm. r? ``@ghost`` ``@rustbot`` label +A-codegen +A-cranelift +T-compiler
2024-04-23Rollup merge of #124003 - WaffleLapkin:dellvmization, r=scottmcm,RalfJung,antoyoMatthias Krüger-3/+3
Dellvmize some intrinsics (use `u32` instead of `Self` in some integer intrinsics) This implements https://github.com/rust-lang/compiler-team/issues/693 minus what was implemented in #123226. Note: I decided to _not_ change `shl`/... builder methods, as it just doesn't seem worth it. r? ``@scottmcm``
2024-04-23Fix wording in shift functions doc commentsEduardo Sánchez Muñoz-2/+2
2024-04-23Configure clippy not to generate warnings about arithmetic operations on ↵Eduardo Sánchez Muñoz-4/+1
`rustc_target::abi::Size`
2024-04-23Implement LLVM x86 AVX2 intrinsicsEduardo Sánchez Muñoz-256/+2476
2024-04-23CI: don't run cron-fail-notify when the job just got canceledRalf Jung-1/+1
Doesn't seem right to prepare a PR in that case
2024-04-23different error code based on variantBao Zhiyuan-4/+14
2024-04-23Auto merge of #3504 - forcedebug:master, r=RalfJungbors-8/+8
chore: fix some typos in comments
2024-04-23add Windows TLS bug to trophy caseRalf Jung-1/+3
2024-04-23chore: fix some typos in commentsforcedebug-8/+8
Signed-off-by: forcedebug <forcedebug@outlook.com>
2024-04-23Rollup merge of #124099 - voidc:disallow-ambiguous-expr-attrs, r=davidtwcoMatthias Krüger-10/+10
Disallow ambiguous attributes on expressions This implements the suggestion in [#15701](https://github.com/rust-lang/rust/issues/15701#issuecomment-2033124217) to disallow ambiguous outer attributes on expressions. This should resolve one of the concerns blocking the stabilization of `stmt_expr_attributes`.
2024-04-23Update allowed cg_clif depsbjorn3-0/+1
2024-04-23Auto merge of #3493 - eduardosm:env-set, r=oli-obkbors-12/+43
Add `-Zmiri-env-set` to set environment variables without modifying the host environment This option allows to pass environment variables to the interpreted program without needing to modify the host environment (which may have undesired effects in some cases).