aboutsummaryrefslogtreecommitdiff
path: root/rust/settings/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'rust/settings/BUILD.bazel')
-rw-r--r--rust/settings/BUILD.bazel6
1 files changed, 6 insertions, 0 deletions
diff --git a/rust/settings/BUILD.bazel b/rust/settings/BUILD.bazel
index faaa1489..1160e975 100644
--- a/rust/settings/BUILD.bazel
+++ b/rust/settings/BUILD.bazel
@@ -99,6 +99,12 @@ incompatible_flag(
issue = "https://github.com/bazelbuild/rules_rust/issues/2324",
)
+# A flag to control whether to link libstd dynamically.
+bool_flag(
+ name = "experimental_link_std_dylib",
+ build_setting_default = False,
+)
+
# A flag to remove the SYSROOT environment variable from `Rustc` actions.
incompatible_flag(
name = "incompatible_no_rustc_sysroot_env",