Skip to content

Starlarkify cc_common.empty_variables - #806

Open
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-empty-variables
Open

Starlarkify cc_common.empty_variables#806
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-empty-variables

Conversation

@dzbarsky

Copy link
Copy Markdown
Contributor

Replace the Java-backed cc_common.empty_variables() call with _cc_internal.cc_toolchain_variables(vars = {}). Both implementations construct the same empty CcToolchainVariables representation, preserving compile, link, FDO, and toolchain feature expansion.

Validation: buildifier -mode=check cc/private/cc_common.bzl and 66 passing C++ common, compile-variable, link-variable, and FDO analysis tests.

@dzbarsky
dzbarsky marked this pull request as ready for review July 31, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants