aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-02-15 14:06:52 -0800
committerDavid Tolnay <dtolnay@gmail.com>2023-02-15 14:06:54 -0800
commitaeaea7ecef675aabe7bd396a164828d6579bc7ba (patch)
tree6797433ecbc9b4ef205bc67f625e64bc967dc1f0
parentbf1d5a8135676a59a5ff70ea4f606c6b1f4ed6ab (diff)
downloadcxx-aeaea7ecef675aabe7bd396a164828d6579bc7ba.tar.gz
Reduce visibility of cxx-build target in non-Cargo build rules
This library is specifically for Cargo builds so it shouldn't be getting pulled into downstream non-Cargo builds.
-rw-r--r--BUCK1
-rw-r--r--BUILD1
2 files changed, 0 insertions, 2 deletions
diff --git a/BUCK b/BUCK
index 6fcf7fa8..a1730223 100644
--- a/BUCK
+++ b/BUCK
@@ -62,7 +62,6 @@ rust_library(
"gen/build/src/syntax",
],
edition = "2018",
- visibility = ["PUBLIC"],
deps = [
"//third-party:cc",
"//third-party:codespan-reporting",
diff --git a/BUILD b/BUILD
index c88eb249..51bec2f2 100644
--- a/BUILD
+++ b/BUILD
@@ -61,7 +61,6 @@ rust_library(
srcs = glob(["gen/build/src/**/*.rs"]),
data = ["gen/build/src/gen/include/cxx.h"],
edition = "2018",
- visibility = ["//visibility:public"],
deps = [
"//third-party:cc",
"//third-party:codespan-reporting",