diff options
author | David Tolnay <dtolnay@gmail.com> | 2020-09-07 22:26:46 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2020-09-07 22:31:03 -0700 |
commit | 9f6c075e3ccadb38ed73b416c8eaf1122e16afde (patch) | |
tree | 3133d606465efd2aba884df2dbfdb88fbacbe5cd /BUILD | |
parent | 7aa5e21ab799f689de0a94fd35a03e90e28d6745 (diff) | |
download | cxx-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-- | BUILD | 15 |
1 files changed, 2 insertions, 13 deletions
@@ -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", |