diff options
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -16,12 +16,17 @@ rust_library( deps = [":core-lib"], ) -rust_binary( +alias( name = "codegen", + actual = ":cxxbridge", + visibility = ["//visibility:public"], +) + +rust_binary( + name = "cxxbridge", srcs = glob(["gen/cmd/src/**/*.rs"]), data = ["gen/cmd/src/gen/include/cxx.h"], edition = "2018", - visibility = ["//visibility:public"], deps = [ "//third-party:clap", "//third-party:codespan-reporting", @@ -57,11 +62,10 @@ rust_proc_macro( ) rust_library( - name = "build", + name = "cxx-build", srcs = glob(["gen/build/src/**/*.rs"]), data = ["gen/build/src/gen/include/cxx.h"], edition = "2018", - visibility = ["//visibility:public"], deps = [ "//third-party:cc", "//third-party:codespan-reporting", @@ -74,7 +78,7 @@ rust_library( ) rust_library( - name = "lib", + name = "cxx-gen", srcs = glob(["gen/lib/src/**/*.rs"]), data = ["gen/lib/src/gen/include/cxx.h"], edition = "2018", |