aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2020-07-30 22:26:52 -0700
committerDavid Tolnay <dtolnay@gmail.com>2020-07-30 22:30:02 -0700
commitdd24719b97c1d26d1db9add7668e1fec21f9eb5e (patch)
treec461d0d8a749a5df647feda26f61d134610d4d24 /BUILD
parenta96213c6006665ed14adbe9a9b8f69226ae34b5f (diff)
downloadcxx-dd24719b97c1d26d1db9add7668e1fec21f9eb5e.tar.gz
Update bazel Rust rules
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/BUILD b/BUILD
index d63fea7e..4d2b33a4 100644
--- a/BUILD
+++ b/BUILD
@@ -3,10 +3,12 @@ load("//tools/bazel:rust.bzl", "rust_binary", "rust_library")
rust_library(
name = "cxx",
srcs = glob(["src/**/*.rs"]),
+ proc_macro_deps = [
+ ":cxxbridge-macro",
+ ],
visibility = ["//visibility:public"],
deps = [
":core-lib",
- ":cxxbridge-macro",
"//third-party:link-cplusplus",
],
)