Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Document that default-members doesn't help with cargo test (#128)

Maximilian Roos85c3d3b415e4
diff --git a/tests/helpers/dev-detach/Cargo.toml b/tests/helpers/dev-detach/Cargo.toml
index 8db575212..de4146ca8 100644
--- a/tests/helpers/dev-detach/Cargo.toml
+++ b/tests/helpers/dev-detach/Cargo.toml
@@ -13,6 +13,8 @@
# find and package the binary, failing with "bin not found" during release
# - `[package.metadata.dist] dist = false` in main package: excludes the entire
# package from distribution, not individual binaries
+# - `workspace.default-members`: makes `cargo build` include this package, but
+# `cargo test` only builds test targets, not binaries (even for selected packages)
#
# BUILD REQUIREMENT:
# Since this is a separate workspace member (not a dependency of the main package),