File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed
Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,23 @@ rust_library(
99 visibility = ["PUBLIC" ],
1010 deps = [
1111 ":core" ,
12- ":macro" ,
12+ ":cxxbridge- macro" ,
1313 ],
1414)
1515
16- rust_binary (
16+ alias (
1717 name = "codegen" ,
18+ actual = ":cxxbridge" ,
19+ visibility = ["PUBLIC" ],
20+ )
21+
22+ rust_binary (
23+ name = "cxxbridge" ,
1824 srcs = glob (["gen/cmd/src/**/*.rs" ]) + [
1925 "gen/cmd/src/gen" ,
2026 "gen/cmd/src/syntax" ,
2127 ],
22- crate = "cxxbridge" ,
2328 edition = "2018" ,
24- visibility = ["PUBLIC" ],
2529 deps = [
2630 "//third-party:clap" ,
2731 "//third-party:codespan-reporting" ,
@@ -43,9 +47,8 @@ cxx_library(
4347)
4448
4549rust_library (
46- name = "macro" ,
50+ name = "cxxbridge- macro" ,
4751 srcs = glob (["macro/src/**/*.rs" ]) + ["macro/src/syntax" ],
48- crate = "cxxbridge_macro" ,
4952 edition = "2018" ,
5053 proc_macro = True ,
5154 deps = [
@@ -56,7 +59,7 @@ rust_library(
5659)
5760
5861rust_library (
59- name = "build" ,
62+ name = "cxx- build" ,
6063 srcs = glob (["gen/build/src/**/*.rs" ]) + [
6164 "gen/build/src/gen" ,
6265 "gen/build/src/syntax" ,
@@ -74,7 +77,7 @@ rust_library(
7477)
7578
7679rust_library (
77- name = "lib " ,
80+ name = "cxx-gen " ,
7881 srcs = glob (["gen/lib/src/**/*.rs" ]) + [
7982 "gen/lib/src/gen" ,
8083 "gen/lib/src/syntax" ,
Original file line number Diff line number Diff line change @@ -16,12 +16,17 @@ rust_library(
1616 deps = [":core-lib" ],
1717)
1818
19- rust_binary (
19+ alias (
2020 name = "codegen" ,
21+ actual = ":cxxbridge" ,
22+ visibility = ["//visibility:public" ],
23+ )
24+
25+ rust_binary (
26+ name = "cxxbridge" ,
2127 srcs = glob (["gen/cmd/src/**/*.rs" ]),
2228 data = ["gen/cmd/src/gen/include/cxx.h" ],
2329 edition = "2018" ,
24- visibility = ["//visibility:public" ],
2530 deps = [
2631 "//third-party:clap" ,
2732 "//third-party:codespan-reporting" ,
@@ -57,7 +62,7 @@ rust_proc_macro(
5762)
5863
5964rust_library (
60- name = "build" ,
65+ name = "cxx- build" ,
6166 srcs = glob (["gen/build/src/**/*.rs" ]),
6267 data = ["gen/build/src/gen/include/cxx.h" ],
6368 edition = "2018" ,
@@ -73,7 +78,7 @@ rust_library(
7378)
7479
7580rust_library (
76- name = "lib " ,
81+ name = "cxx-gen " ,
7782 srcs = glob (["gen/lib/src/**/*.rs" ]),
7883 data = ["gen/lib/src/gen/include/cxx.h" ],
7984 edition = "2018" ,
You can’t perform that action at this time.
0 commit comments