364 Commits

Author SHA1 Message Date
Laurențiu Nicola
f64b5f6689 Bump rustup-toolchain-install-master 2026-02-18 18:35:01 +02:00
bit-aloo
7a8342c522
pin nightly for miri workflow 2026-02-12 14:03:22 +05:30
Wilfred Hughes
9ee9e114be internal: Run clippy as a separate CI step
Currently clippy is run in CI as part of the macOS build. This is a
little confusing, because clippy failures just show as
"Rust (macos-latest)" which make it look like a macOS build failure.

Instead, treat clippy as a separate build step, like miri and rustfmt.

This should also make CI a little faster, because it reduces macOS
runner usage (which tend to be slower than Linux on GitHub actions),
and it reduces the number of steps where we need to install clippy.
2026-02-09 14:18:15 +00:00
Wilfred Hughes
9c0d88cc07 internal: Include private definitions in generated rustdoc
rust-analyzer has handy prebuilt `cargo doc` output at
https://rust-lang.github.io/rust-analyzer/ide/

However, it doesn't include private definitions, which makes it less
useful when trying to learn unfamiliar parts of the codebase.

Instead, pass `--document-private-items` so the HTML includes
information on private types and modules too. rustdoc renders these
with a padlock icon, so it's still clear that they're private.

This change also exposes some more rustdoc warnings, which I've fixed.
2026-01-09 12:01:54 +00:00
Lukas Wirth
af45994feb Introduce cargo-machete ci step 2025-12-25 10:38:05 +01:00
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
5e0916c0e6
Merge pull request #19808 from Veykril/lw-ollszwnlmquw
ci: Run metrics on the beta channel
2025-05-16 15:00:07 +00: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
Lukas Wirth
f1af8df57b github: Direct users to discussions instead of issues for questions 2025-05-05 16:41:39 +02:00
bbb651
c7cf6bf7c3 doc: Fix dead manual links 2025-04-20 20:28:52 +03: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