diff --git a/examples/.bazelversion b/examples/.bazelversion index 7857a94..c9277c5 100644 --- a/examples/.bazelversion +++ b/examples/.bazelversion @@ -1 +1 @@ -8.4.2 \ No newline at end of file +9.0.0 \ No newline at end of file diff --git a/examples/BUILD b/examples/BUILD index 7d9d38a..64ff781 100644 --- a/examples/BUILD +++ b/examples/BUILD @@ -13,7 +13,7 @@ """Small C++ CLI application for sanity testing""" -load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test") +load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test", "cc_shared_library") cc_binary( name = "main_cpp", diff --git a/examples/MODULE.bazel b/examples/MODULE.bazel index 73e8d1e..3aadc2e 100644 --- a/examples/MODULE.bazel +++ b/examples/MODULE.bazel @@ -19,18 +19,13 @@ module( # ******************************************************************************* # Common useful functions and rules for Bazel # ******************************************************************************* -bazel_dep(name = "bazel_skylib", version = "1.8.1") +bazel_dep(name = "bazel_skylib", version = "1.8.2") # ******************************************************************************* # Constraint values for specifying platforms and toolchains # ******************************************************************************* bazel_dep(name = "platforms", version = "1.0.0") bazel_dep(name = "score_bazel_platforms", version = "0.0.4") -# git_override( -# module_name = "score_bazel_platforms", -# remote = "https://github.com/eclipse-score/bazel_platforms.git/", -# commit = "583e52c58f1f110357aa93fcba3c01cbd7b51675", -# ) # ******************************************************************************* # C++ Rules for Bazel diff --git a/templates/linux/cc_toolchain_config.bzl.template b/templates/linux/cc_toolchain_config.bzl.template index fedd80a..3bce396 100644 --- a/templates/linux/cc_toolchain_config.bzl.template +++ b/templates/linux/cc_toolchain_config.bzl.template @@ -24,6 +24,7 @@ load("@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "tool_path", "with_feature_set", ) +load("@rules_cc//cc:defs.bzl", "cc_common", "CcToolchainConfigInfo") load(":flags.bzl", "UNFILTERED_COMPILE_FLAGS", "DEFAULT_COMPILE_FLAGS", diff --git a/templates/qnx/cc_toolchain_config.bzl.template b/templates/qnx/cc_toolchain_config.bzl.template index e5b82d1..21c8d14 100644 --- a/templates/qnx/cc_toolchain_config.bzl.template +++ b/templates/qnx/cc_toolchain_config.bzl.template @@ -25,6 +25,7 @@ load("@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", "tool_path", "with_feature_set", ) +load("@rules_cc//cc:defs.bzl", "cc_common", "CcToolchainConfigInfo") load(":flags.bzl", "UNFILTERED_COMPILE_FLAGS", "DEFAULT_COMPILE_FLAGS",