From deac634978195631bdb720902dd644330d57d40c Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Sat, 28 Sep 2024 12:09:52 +0200 Subject: [PATCH 1/2] Mark `cc_static_library` as experimental in docs --- .../builtins_bzl/common/cc/experimental_cc_static_library.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl index 902f6933d27fc6..568089a981eb7d 100644 --- a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl +++ b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl @@ -244,6 +244,9 @@ def _cc_static_library_impl(ctx): cc_static_library = rule( implementation = _cc_static_library_impl, doc = """ +This rule is currently experimental and can only be used with the +--experimental_cc_static_library flag. + Produces a static library from a list of targets and their transitive dependencies.

The resulting static library contains the object files of the targets listed in From 50677af893e7dcd0c0e53b00f5579ff2bdb5228b Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Thu, 10 Oct 2024 14:06:43 +0200 Subject: [PATCH 2/2] Update src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl --- .../builtins_bzl/common/cc/experimental_cc_static_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl index 568089a981eb7d..c1f24cf2c2ec90 100644 --- a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl +++ b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_static_library.bzl @@ -245,7 +245,7 @@ cc_static_library = rule( implementation = _cc_static_library_impl, doc = """ This rule is currently experimental and can only be used with the ---experimental_cc_static_library flag. +--experimental_cc_static_library flag. Produces a static library from a list of targets and their transitive dependencies.