bazelbuild / bazelbuild/rules_cc
MSVC/Windows: Consider setting VSCMD_SKIP_SENDTELEMETRY=<some-random-value> to avoid slowdown during VsDevEnv.cmd setup
Open
P3
- Dominant language
- Starlark
- Stars
- 247
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/bazelbuild/rules_cc/blob/4a62c693309887664cb733245d1c74f17a992942/cc/private/toolchain/windows_cc_configure.bzl#L144
Also applies to built-in rules in bazel itself, but consider this:

Setting VSCMD_SKIP_SENDTELEMETRY=1 (or any value) would prevent trying to send it. Also avoid expensive call to powershell.exe
Contributor guide
Assessment
This issue has not been assessed yet.