aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2020-09-07 22:26:46 -0700
committerDavid Tolnay <dtolnay@gmail.com>2020-09-07 22:31:03 -0700
commit9f6c075e3ccadb38ed73b416c8eaf1122e16afde (patch)
tree3133d606465efd2aba884df2dbfdb88fbacbe5cd /BUILD
parent7aa5e21ab799f689de0a94fd35a03e90e28d6745 (diff)
downloadcxx-9f6c075e3ccadb38ed73b416c8eaf1122e16afde.tar.gz
Inline cxx-symbols crate into cxx
The separation is no longer needed for Buck when linking with lld.
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD15
1 files changed, 2 insertions, 13 deletions
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(
@@ -45,11 +39,6 @@ cc_library(
)
rust_library(
- name = "symbols",
- srcs = glob(["src/symbols/**/*.rs"]),
-)
-
-rust_library(
name = "cxxbridge-macro",
srcs = glob(["macro/src/**"]),
crate_type = "proc-macro",