cockroachdb / cockroachdb/cockroach
bazel,dev: new target to only build, and not link, test sources
Open
A-build-system
C-enhancement
T-dev-inf
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
When iterating on test source code it is useful to be able to quickly check that the test source code compiles without errors.
In that mode, it's useful to **avoid the link step** which is expensive (20-40% of build time).
It would be useful to have a bazel/dev target that disables linking of test code.
Epic: CRDB-28893
Jira issue: CRDB-30530
Contributor guide
Assessment
This issue has not been assessed yet.