mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
4aa53044fd
## Summary Stacked on #67376. The first commit here is that PR. `cargo test -p gpui --lib` stopped compiling on `main` and CI stayed green. CI builds gpui's tests only as part of the workspace, where other crates enable gpui's `test-support` feature, so a missing `cfg(test)` gate goes unnoticed. This adds `cargo test -p gpui --lib --no-run` to `check_workspace_binaries`, after the workspace build. Cost: - The job's earlier steps already compile 403 of the build's 634 units. - Locally, on 16 cores without sccache, the step takes 14 s when only gpui changed and 34 s from an empty target directory. - In a recent run, the job took 3m22s and `run_tests_linux` took 9m20s. ## Testing - `cargo test -p gpui --lib --no-run` with `-D warnings` compiles on this branch and fails with E0599 without #67376. - `cargo xtask workflows` produces no diff. - `./script/clippy -p xtask` passes. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - [GPUI] N/A