cockroachdb / cockroachdb/cockroach

bazel,dev: new target to only build, and not link, test sources

Open
#108,584 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.