mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-14 06:05:10 +00:00
3da1902e24
This PR updates the `worktree` crate to depend on `rpc` with the `test-support` feature flag when running tests. This fixes an issue I was seeing locally when trying to run tests in the `worktree` crate: ``` λ cargo test -p worktree -- test_repository_subfolder_git_status Compiling worktree v0.1.0 (/Users/maxdeviant/projects/zed/crates/worktree) error[E0432]: unresolved import `rpc::AnyProtoClient` --> crates/worktree/src/worktree.rs:39:18 | 39 | use rpc::{proto, AnyProtoClient}; | ^^^^^^^^^^^^^^ no `AnyProtoClient` in the root For more information about this error, try `rustc --explain E0432`. error: could not compile `worktree` (lib test) due to 1 previous error ``` Release Notes: - N/A |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-GPL |