From dd24719b97c1d26d1db9add7668e1fec21f9eb5e Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Thu, 30 Jul 2020 22:26:52 -0700 Subject: Update bazel Rust rules --- BUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BUILD') 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", ], ) -- cgit v1.2.3