fix(bazel): add missing load statements

Bazel 9 drops builtin `cc_*` rules, they need to be loaded explicitly now.
This commit is contained in:
Alexander Hans
2025-12-26 01:02:59 +01:00
committed by Jesse Beder
parent 5cf25533e3
commit 3738976bdc
8 changed files with 226 additions and 48 deletions

View File

@@ -1,3 +1,5 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
yaml_cpp_defines = select({
# On Windows, ensure static linking is used.
"@platforms//os:windows": ["YAML_CPP_STATIC_DEFINE", "YAML_CPP_NO_CONTRIB"],