Skip to content

Commit 63f98bb

Browse files
committed
Add explanation for why different workspace
1 parent d416b65 commit 63f98bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/difftests/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ Create a subdirectory under `tests/` with the test name. For example, `tests/foo
4141
test named `foo`. In the test directory, create 2 or more Rust binary packages. Add the
4242
packages to the top-level workspace `Cargo.toml` in the `tests/` directory. _Note that
4343
this isn't the top-level workspace for the project._ The test binaries are in their own
44-
workspace rather than the main workspace.
44+
workspace rather than the main workspace in order to not pollute our root workspace and
45+
slow down cargo due to evaluating the potentially hundreds of cargo projects in
46+
difftests.
4547

4648
### Test Binary Example
4749

0 commit comments

Comments
 (0)