333 Commits

Author SHA1 Message Date
Wilfred Hughes
86bc07e91a Fix rustdoc warnings and add CI
rustdoc has a separate environment variable for banning warnings, so
set that in the GitHub action configuration.

https://github.com/rust-lang/cargo/issues/8424#issuecomment-1070988443

Fix all the rustdoc warnings on unknown types or functions. I've
updated references wherever it's obvious, otherwise I've replaced the
rustdoc link with plain backticks.

There were also some cases where rustdoc links referred to private
APIs. I've disabled the rustdoc private API warning in those crates.
2025-12-01 13:06:15 +00:00
Lukas Wirth
5817dc6472 metrics: Fix metrics 2025-11-22 22:06:42 +01:00
Lukas Wirth
c16b39c131 analysis_stats: Record lang item queries, disable async drop in stats 2025-11-22 21:20:23 +01:00
Lukas Wirth
8d1d5bff85 fix: Fix release workflow 2025-11-19 13:13:27 +01:00
Young-Flash
a0df72edcf minor: update typos checker version 2025-10-09 20:04:39 +08:00
Laurențiu Nicola
e13aa36c75 Bump MACOSX_DEPLOYMENT_TARGET to 14.0 2025-10-01 09:11:51 +03:00
Laurențiu Nicola
3fc269a304 Build x86_64-apple-darwin binaries on macos-14 2025-10-01 09:10:56 +03:00
Laurențiu Nicola
2e22e945a0 Install cargo for proc-macro-srv tests 2025-09-25 10:54:58 +03:00
Laurențiu Nicola
dc2096c25e Also install rustfmt on stable 2025-09-25 10:19:23 +03:00
Jakub Beránek
1c35087a31
Use GH app for authenticating sync PRs 2025-07-29 10:07:27 +02:00
Jakub Beránek
ca679a2f94
Add CI workflow for periodically performing josh pulls 2025-07-22 18:15:54 +02:00
Lukas Wirth
968d2467a8 ci: Fix up release workflow 2025-06-28 11:35:55 +02:00
Lukas Wirth
944355c456 ci: Cancel workflow only after the main matrix has finished 2025-06-28 09:28:26 +02:00
Shoyu Vanilla
dfd2c0e940 ci: Fix cancel parallel jobs on windows 2025-06-24 23:10:52 +09:00
Shoyu Vanilla
737b878355 ci: Pin cargo-workspaces version to 0.3.6, again 2025-06-04 16:03:00 +09:00
Shoyu Vanilla (Flint)
51b9c872fa fix: Typo mistake in autopublish workflow 2025-06-04 15:13:44 +09:00
Shoyu Vanilla (Flint)
4b5d321e17 ci: When autopublishing, remove xtask from workspace
Revert `cargo-workspaces` version fix
2025-06-04 14:19:18 +09:00
Shoyu Vanilla
4b39ff6aea ci: Pin cargo-workspaces to 0.3.6 2025-06-04 00:14:00 +09:00
Lukas Wirth
140a319138 ci: Run metrics on the beta channel
This way we can catch regressions from upstream earlier
2025-05-16 16:49:05 +02:00
Laurențiu Nicola
0ba49a3777 Support specific revisions for pgo 2025-04-18 12:58:52 +03:00
Laurențiu Nicola
e6ebfed17e Build MacOS AArch64 releases on that platform 2025-04-17 11:13:35 +03:00
Alexander Zaitsev
77e7b33a51
Use PGO on macOS x64 and arm64 builds
- realted to https://github.com/rust-lang/rust-analyzer/issues/9412#issuecomment-2810772246
2025-04-16 23:57:59 +03:00
Lukas Wirth
5242ea6ca7
Merge pull request #19597 from Kobzol/arm-ci
Build aarch64 builds on CI with PGO
2025-04-16 07:43:34 +00:00
Jakub Beránek
263092085d
Pin rustc used for the proc-macro-src CI job 2025-04-16 08:58:25 +02:00
Jakub Beránek
16526809fe Perform PGO for aarch64 builds 2025-04-15 22:03:16 +02:00
Jakub Beránek
78043e9211 Use PGO on Linux x64 builds 2025-04-15 20:32:23 +02:00
Laurențiu Nicola
f766d1403e
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
Jakub Beránek
4633fbf146
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
07307f5654
Run PGO for Windows on CI 2025-04-15 12:18:09 +02:00
Jakub Beránek
813ea83e5f
Allow passing a specific crate for PGO training 2025-04-15 11:25:16 +02:00
Jakub Beránek
4c86214f47
Do not enable PGO in combination with zigbuild 2025-04-14 17:35:50 +02:00
Lukas Wirth
6c589ef504
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
Jakub Beránek
0052f6a8fb Use PGO for x64 and aarch64 Linux builds on CI 2025-04-14 11:51:48 +02:00
Prajwal S N
65f6877179
ci: cancel parallel jobs if test fails
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
2025-04-12 01:49:07 +05:30
Lukas Wirth
a1f49124ee chore: Set up a proper job matrix for rust-cross 2025-04-06 10:39:49 +02:00
Lukas Wirth
b2801f9f11 chore: Disable rust-cache in CI
It doesn't actually work with merge groups ...
2025-04-01 08:46:53 +02:00
Lukas Wirth
1ab2f42529 chore: Clean CI a bit 2025-03-31 14:33:11 +02:00
Lukas Wirth
faf1b49a9a fix: Fix, clarify and require a value for proc_macro_cwd of CrateData 2025-03-29 08:08:48 +01:00
Lukas Wirth
7b9e0911b5 chore: Remove salsa dependency from proc-macro server again 2025-03-27 07:27:57 +01:00
Lukas Wirth
7a1e9c4b0c ci: Require miri step 2025-03-25 08:10:27 +01:00
Lukas Wirth
c96421ecf4 ci: run intern tests via cargo miri 2025-03-25 07:26:43 +01:00
Lukas Wirth
56c9f331ee chore: Clean up proc-macro-srv CI job 2025-03-18 12:06:25 +01:00
Laurențiu Nicola
26dc35d681 Use cargo nextest on CI 2025-03-16 12:04:11 +02:00
Lukas Wirth
88ab330c77 Run proc-macro server tests are separate CI job
Touch tt
2025-03-10 10:16:32 +01:00
Laurențiu Nicola
7414416097 Twiddle with the rustup invocation on CI 2025-03-05 07:56:17 +02:00
BenjaminBrienen
00726cf697 Update Node.js, vscode, and ts deps 2025-02-27 20:53:48 +01:00
Laurențiu Nicola
e039ae794d Use cargo zigbuild for releases 2025-02-26 14:16:09 +02:00
Laurențiu Nicola
b3ee3a96a2
Merge pull request #19217 from lnicola/event-name
Fix `event_name` check is workflows
2025-02-24 12:41:58 +00:00
Laurențiu Nicola
604c4a989e Fix event_name check in workflows 2025-02-24 14:27:11 +02:00
Laurențiu Nicola
74e77188b6 Downgrade to ubuntu-22.04 for aarch64-unknown-linux-gnu and arm-unknown-linux-gnueabihf builds 2025-02-24 14:11:12 +02:00