Skip to content

Commit

Permalink
Introduce rules_go_unsupported_feature (#3955)
Browse files Browse the repository at this point in the history
This sentinel feature allows the C++ toolchain configuration to use distinct
sets of flags when compiling Go rules.
  • Loading branch information
cramertj authored Jun 6, 2024
1 parent 6f206ad commit b2b5dbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/private/context.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ _UNSUPPORTED_FEATURES = [
"use_header_modules",
"fdo_instrument",
"fdo_optimize",
# This is a nonspecific unsupported feature which allows the authors of C++
# toolchain to apply separate flags when compiling Go code.
"rules_go_unsupported_feature",
]

def _match_option(option, pattern):
Expand Down

0 comments on commit b2b5dbc

Please sign in to comment.