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(
9
9
visibility = ["PUBLIC" ],
10
10
deps = [
11
11
":core" ,
12
- ":macro" ,
12
+ ":cxxbridge- macro" ,
13
13
],
14
14
)
15
15
16
- rust_binary (
16
+ alias (
17
17
name = "codegen" ,
18
+ actual = ":cxxbridge" ,
19
+ visibility = ["PUBLIC" ],
20
+ )
21
+
22
+ rust_binary (
23
+ name = "cxxbridge" ,
18
24
srcs = glob (["gen/cmd/src/**/*.rs" ]) + [
19
25
"gen/cmd/src/gen" ,
20
26
"gen/cmd/src/syntax" ,
21
27
],
22
- crate = "cxxbridge" ,
23
28
edition = "2018" ,
24
- visibility = ["PUBLIC" ],
25
29
deps = [
26
30
"//third-party:clap" ,
27
31
"//third-party:codespan-reporting" ,
@@ -43,9 +47,8 @@ cxx_library(
43
47
)
44
48
45
49
rust_library (
46
- name = "macro" ,
50
+ name = "cxxbridge- macro" ,
47
51
srcs = glob (["macro/src/**/*.rs" ]) + ["macro/src/syntax" ],
48
- crate = "cxxbridge_macro" ,
49
52
edition = "2018" ,
50
53
proc_macro = True ,
51
54
deps = [
@@ -56,7 +59,7 @@ rust_library(
56
59
)
57
60
58
61
rust_library (
59
- name = "build" ,
62
+ name = "cxx- build" ,
60
63
srcs = glob (["gen/build/src/**/*.rs" ]) + [
61
64
"gen/build/src/gen" ,
62
65
"gen/build/src/syntax" ,
@@ -74,7 +77,7 @@ rust_library(
74
77
)
75
78
76
79
rust_library (
77
- name = "lib " ,
80
+ name = "cxx-gen " ,
78
81
srcs = glob (["gen/lib/src/**/*.rs" ]) + [
79
82
"gen/lib/src/gen" ,
80
83
"gen/lib/src/syntax" ,
Original file line number Diff line number Diff line change @@ -16,12 +16,17 @@ rust_library(
16
16
deps = [":core-lib" ],
17
17
)
18
18
19
- rust_binary (
19
+ alias (
20
20
name = "codegen" ,
21
+ actual = ":cxxbridge" ,
22
+ visibility = ["//visibility:public" ],
23
+ )
24
+
25
+ rust_binary (
26
+ name = "cxxbridge" ,
21
27
srcs = glob (["gen/cmd/src/**/*.rs" ]),
22
28
data = ["gen/cmd/src/gen/include/cxx.h" ],
23
29
edition = "2018" ,
24
- visibility = ["//visibility:public" ],
25
30
deps = [
26
31
"//third-party:clap" ,
27
32
"//third-party:codespan-reporting" ,
@@ -57,7 +62,7 @@ rust_proc_macro(
57
62
)
58
63
59
64
rust_library (
60
- name = "build" ,
65
+ name = "cxx- build" ,
61
66
srcs = glob (["gen/build/src/**/*.rs" ]),
62
67
data = ["gen/build/src/gen/include/cxx.h" ],
63
68
edition = "2018" ,
@@ -73,7 +78,7 @@ rust_library(
73
78
)
74
79
75
80
rust_library (
76
- name = "lib " ,
81
+ name = "cxx-gen " ,
77
82
srcs = glob (["gen/lib/src/**/*.rs" ]),
78
83
data = ["gen/lib/src/gen/include/cxx.h" ],
79
84
edition = "2018" ,
You can’t perform that action at this time.
0 commit comments