Skip to content

Commit

Permalink
Flip cc_test to use the Starlark version.
Browse files Browse the repository at this point in the history
NOTE: This does not change the use of platform/toolchains based cc_test.

RELNOTES:
Switch cc_test implementation to Starlark. Note: cc_test will now
link statically when _targeting_ Windows regardless of host platform (rather
than always linking statically when Windows is the _host_).

Additionally, the behavior of env_inherit differs--notably the inherited
environment overrides the fixed environment.

See: #15268
PiperOrigin-RevId: 443380618
  • Loading branch information
trybka authored and copybara-github committed Apr 21, 2022
1 parent a6bd707 commit ee0e3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/starlark/builtins_bzl/common/exports.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exported_rules = {
"+cc_shared_library": cc_shared_library,
"+cc_shared_library_permissions": cc_shared_library_permissions,
"+cc_binary": cc_binary,
"-cc_test": cc_test,
"+cc_test": cc_test,
"-cc_library": cc_library,
}

Expand Down

0 comments on commit ee0e3e1

Please sign in to comment.