Chayim Refael Friedman
a16cca47af
Make hir-ty non-diagnostic queries transparent
...
That is, all queries that have a `with_diagnostic` variant.
Them being tracked was (maybe) needed before #19462 , because back then diagnostics could refer `AstId`s (for macro types), but now they are no longer needed.
2025-04-18 07:04:13 +03:00
Lukas Wirth
c7f35adaaf
Merge pull request #19591 from snprajwal/fix-make-macro
...
fix: use `ast::TokenTree` in `make::expr_macro`
2025-04-16 07:47:25 +00:00
Lukas Wirth
5c170aa648
Merge pull request #19590 from roife/fix-issue-19540
...
feat: add `pub(crate) mod` option for unlinked files
2025-04-16 07:43:43 +00:00
Lukas Wirth
1b528e6137
Merge pull request #19597 from Kobzol/arm-ci
...
Build aarch64 builds on CI with PGO
2025-04-16 07:43:34 +00:00
Prajwal S N
da70675eef
fix: use ast::TokenTree in make::expr_macro
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-16 13:06:42 +05:30
Lukas Wirth
66dee460dd
Merge pull request #19596 from roife/sig-help-info
...
feat: enhance signature help to display generic parameters for callables and default values for generic args
2025-04-16 07:27:21 +00:00
Lukas Wirth
99f535b6d9
Merge pull request #19588 from Hmikihiro/ext_func_module
...
fix: `Extract into` function include inline variable in fmt macro
2025-04-16 07:15:15 +00:00
Lukas Wirth
8feee8fc37
Merge pull request #19587 from MatrixFrog/patch-1
...
Remove incorrect doc comment
2025-04-16 07:12:35 +00:00
Lukas Wirth
e583dffbf8
Merge pull request #19600 from Kobzol/pin-proc-macro-rustc
...
Pin rustc used for the `proc-macro-src` CI job
2025-04-16 07:09:24 +00:00
Jakub Beránek
a2875d50e7
Pin rustc used for the proc-macro-src CI job
2025-04-16 08:58:25 +02:00
Jakub Beránek
9a3a3e110f
Perform PGO for aarch64 builds
2025-04-15 22:03:16 +02:00
Laurențiu Nicola
7104efa579
Merge pull request #19595 from Kobzol/ci-linux-pgo
...
Use PGO on Linux x64 builds
2025-04-15 18:51:24 +00:00
roifewu
6c8238059f
feat: enhance signature help to display generic parameters for callables and default values for generic args
2025-04-16 02:41:08 +08:00
Jakub Beránek
950eba8b2a
Use PGO on Linux x64 builds
2025-04-15 20:32:23 +02:00
Laurențiu Nicola
88723b66d3
Merge pull request #19585 from Kobzol/pgo-windows
...
Allow training PGO on a custom crate and enable it Windows on CI
2025-04-15 18:10:59 +00:00
Laurențiu Nicola
a6e7f0747e
Merge pull request #19586 from Kobzol/manylinux-instead-of-zigbuild
...
Use a Docker container instead of Zig for building with old(er) glibc on x64 Linux
2025-04-15 14:10:13 +00:00
Jakub Beránek
4b5126e8b8
Use manylinux Docker container instead of zigbuild for x64 Linux
...
This gets us glibc 2.28 without using `cargo zigbuild`, which is not compatible with PGO.
2025-04-15 15:42:40 +02:00
Jakub Beránek
2110265577
Use -q to silence RA output
2025-04-15 12:46:56 +02:00
Jakub Beránek
ad7a8a43c5
Run PGO for Windows on CI
2025-04-15 12:18:09 +02:00
Jakub Beránek
d959d01516
Allow passing a specific crate for PGO training
2025-04-15 11:25:16 +02:00
Jakub Beránek
38eea1b0bf
Fix llvm-profdata extension on non Linux OSes
2025-04-15 11:19:37 +02:00
roifewu
1411fbd639
feat: Add pub(crate) mod option for unlinked files
2025-04-15 13:12:03 +08:00
Hayashi Mikihiro
db2de2ab3f
fix: `Extract into function include inline variable in fmt macro
...
Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
2025-04-15 11:19:50 +09:00
Tyler Breisacher
8d99f2f11a
Remove incorrect doc comment
2025-04-14 19:05:13 -07:00
Lukas Wirth
d9b61b3382
Merge pull request #19583 from Kobzol/revert-19582-ci-pgo
...
Do not perform PGO on Linux CI
2025-04-14 15:47:06 +00:00
Jakub Beránek
99b691710c
Do not enable PGO in combination with zigbuild
2025-04-14 17:35:50 +02:00
Lukas Wirth
e4c290953a
Merge pull request #19568 from snprajwal/destructure-struct-editor
...
refactor: editor for `destructure_struct_binding`
2025-04-14 15:35:00 +00:00
Lukas Wirth
9dd3561456
Merge pull request #19572 from snprajwal/expand-rest-pattern
...
refactor: migrate `expand_rest_pattern` to editor
2025-04-14 14:50:08 +00:00
Lukas Wirth
22c30435b5
Merge pull request #19582 from Kobzol/ci-pgo
...
Distribute x64 and aarch64 Linux builds with PGO optimizations
2025-04-14 14:32:56 +00:00
Lukas Wirth
415b7f32a1
Merge pull request #19569 from snprajwal/fixmes
...
fix(ast): return correct types for `make::expr_*` methods
2025-04-14 11:10:27 +00:00
Lukas Wirth
eda5a2e4e9
Merge pull request #19578 from clouds56-contrib/drive-letter
...
add normalizeDriveLetter
2025-04-14 11:09:37 +00:00
Lukas Wirth
0e091ac63a
Merge pull request #19521 from snprajwal/ci
...
ci: cancel parallel jobs if test fails
2025-04-14 11:08:43 +00:00
Lukas Wirth
ef701b3516
Merge pull request #19579 from ChayimFriedman2/cyclic-closure
...
fix: Prevent panics when there is a cyclic dependency between closures
2025-04-14 10:15:03 +00:00
Jakub Beránek
09ba190621
Use PGO for x64 and aarch64 Linux builds on CI
2025-04-14 11:51:48 +02:00
Jakub Beránek
d69a440f91
Add xdist dist --pgo command to build Rust Analyzer with PGO optimizations
2025-04-14 11:51:48 +02:00
Lukas Wirth
45be9c2e7d
Merge pull request #19576 from chenyukang/yukang-fix-rustfmt-error
...
Ignore errors from rustfmt which may trigger error notification
2025-04-14 04:57:34 +00:00
Chayim Refael Friedman
601ab30d27
Prevent panics when there is a cyclic dependency between closures
...
We didn't include them in the sorted closures list, therefore didn't analyze them, then failed to find them.
2025-04-14 07:12:51 +03:00
Clouds Flowing
cfdeaca216
fix format
2025-04-14 11:45:21 +08:00
Clouds Flowing
8bc76c64e6
add normalizeDriveLetter
2025-04-14 11:23:31 +08:00
yukang
552020dc62
Ignore errors from rustfmt which may trigger error notification
2025-04-14 09:33:38 +08:00
Lukas Wirth
121a12edc6
Merge pull request #19573 from Veykril/push-swrzvrroornr
...
internal: Render sigantures with view hir command
2025-04-13 10:24:28 +00:00
Lukas Wirth
c970cacd50
internal: Render sigantures with view hir command
2025-04-13 12:13:28 +02:00
Prajwal S N
03c71b6f00
ci: cancel parallel jobs if test fails
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-12 01:49:07 +05:30
HKalbasi
f35127979a
Merge pull request #19571 from duncanawoods/19464-Regression-vs-code-test-explorer-skips-unit-tests-since-v0.3.2353
...
Fix missing test update notifications when there are hyphens in the target name and exclude dependencies from `Run All`
2025-04-11 17:17:16 +00:00
Prajwal S N
a3bc2b12fc
refactor: migrate expand_rest_pattern to editor
...
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-11 21:25:53 +05:30
duncan
5ea1764b45
fix clippy::useless-conversion
2025-04-11 16:23:47 +01:00
duncan
2e79c265e4
exclude build script targets from testing
2025-04-11 16:16:20 +01:00
duncan
d8ecbccc4e
test only packages that are workspace members
2025-04-11 15:03:38 +01:00
duncan
35bb73aa8c
use underscores in the target name for test update notifications
2025-04-11 14:15:13 +01:00
Chayim Refael Friedman
7425cc1d18
Merge pull request #19570 from ChayimFriedman2/fix-store-panic
...
fix: Fix an incorrect `ExpressionStore` that was passed
2025-04-10 21:46:18 +00:00