Skip to content

Commit cab7071

Browse files
keithcopybara-github
authored andcommitted
Fix bazel_features usage in strip_include_prefix test
Copybara Import from #688 BEGIN_PUBLIC Fix bazel_features usage in strip_include_prefix test (#688) https://github.com/bazelbuild/rules_cc/pull/634/changes#r3071719309 Closes #688 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#688 from keith:ks/fix-bazel_features-usage-in-strip_include_prefix-test 074161a PiperOrigin-RevId: 900703750 Change-Id: If3587193b4d61574e78af1fa8b2504aa4969fe0a
1 parent 72e42e7 commit cab7071

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/strip_include_prefix/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
load("@bazel_features//private:util.bzl", _bazel_version_ge = "ge")
15+
load("@bazel_features//:features.bzl", "bazel_features")
1616
load("//cc:cc_library.bzl", "cc_library")
1717
load("//cc:cc_test.bzl", "cc_test")
1818
load("//cc/common:semantics.bzl", "STRIP_INCLUDE_PREFIX_APPLIES_TO_TEXTUAL_HEADERS")
1919

2020
licenses(["notice"])
2121

22-
_SUPPORTED = _bazel_version_ge("9.0.0-pre.20250911") and STRIP_INCLUDE_PREFIX_APPLIES_TO_TEXTUAL_HEADERS
22+
_SUPPORTED = bazel_features.cc.cc_common_is_in_rules_cc and STRIP_INCLUDE_PREFIX_APPLIES_TO_TEXTUAL_HEADERS
2323

2424
cc_library(
2525
name = "lib",

0 commit comments

Comments
 (0)