From 9f6c075e3ccadb38ed73b416c8eaf1122e16afde Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 7 Sep 2020 22:26:46 -0700 Subject: Inline cxx-symbols crate into cxx The separation is no longer needed for Buck when linking with lld. --- BUILD | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'BUILD') diff --git a/BUILD b/BUILD index 197cef22..27c69319 100644 --- a/BUILD +++ b/BUILD @@ -2,18 +2,12 @@ load("//tools/bazel:rust.bzl", "rust_binary", "rust_library") rust_library( name = "cxx", - srcs = glob( - ["src/**/*.rs"], - exclude = ["src/symbols/**/*.rs"], - ), + srcs = glob(["src/**/*.rs"]), proc_macro_deps = [ ":cxxbridge-macro", ], visibility = ["//visibility:public"], - deps = [ - ":core-lib", - ":symbols", - ], + deps = [":core-lib"], ) rust_binary( @@ -44,11 +38,6 @@ cc_library( hdrs = ["include/cxx.h"], ) -rust_library( - name = "symbols", - srcs = glob(["src/symbols/**/*.rs"]), -) - rust_library( name = "cxxbridge-macro", srcs = glob(["macro/src/**"]), -- cgit v1.2.3