bazelbuild / bazelbuild/rules_cc

MSVC/Windows: Consider setting VSCMD_SKIP_SENDTELEMETRY=<some-random-value> to avoid slowdown during VsDevEnv.cmd setup

Open
#223 0 comments 0 reactions 0 assignees View on GitHub
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:

![image](https://github.com/bazelbuild/rules_cc/assets/51738/ab11417a-f361-446e-b1ec-b32ed9883702)

Setting VSCMD_SKIP_SENDTELEMETRY=1 (or any value) would prevent trying to send it. Also avoid expensive call to powershell.exe

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.