| load( |
| "//rs_bindings_from_cc/bazel_support:crubit_feature_hint.bzl", |
| "crubit_feature_hint", |
| ) |
| |
| _SUPPORTED_FEATURES = [ |
| "supported", |
| ] |
| |
| _EXPERIMENTAL_CLIENTS = [ |
| "//:__subpackages__", |
| ] |
| |
| crubit_feature_hint( |
| name = "supported", |
| crubit_features = _SUPPORTED_FEATURES, |
| visibility = ["//visibility:public"], |
| ) |
| |
| crubit_feature_hint( |
| name = "non_extern_c_functions", |
| crubit_features = _SUPPORTED_FEATURES + [ |
| "non_extern_c_functions", |
| ], |
| visibility = _EXPERIMENTAL_CLIENTS + [ |
| "//base/rust:__subpackages__", |
| "//file/base/rust:__subpackages__", |
| ], |
| ) |
| |
| crubit_feature_hint( |
| name = "experimental", |
| crubit_features = _SUPPORTED_FEATURES + [ |
| "experimental", |
| ], |
| visibility = _EXPERIMENTAL_CLIENTS, |
| ) |
| |
| # A feature set with a stable expansion, only for use in Bazel unit tests. |
| crubit_feature_hint( |
| name = "internal_testonly_supported", |
| crubit_features = ["supported"], |
| visibility = ["//:__subpackages__"], |
| ) |
| |
| # A feature set with a stable expansion, only for use in Bazel unit tests. |
| crubit_feature_hint( |
| name = "internal_testonly_experimental", |
| crubit_features = ["experimental"], |
| visibility = ["//:__subpackages__"], |
| ) |