Fix broken github_only comment in cargo build rule

PiperOrigin-RevId: 657611564
pull/17661/head
Derek Benson 4 months ago committed by Copybara-Service
parent c7d4697481
commit 9cceb6278d
  1. 92
      rust/BUILD

@ -211,55 +211,55 @@ config_setting(
) )
# begin:github_only # begin:github_only
# pkg_files( pkg_files(
# name = "rust_protobuf_src", name = "rust_protobuf_src",
# srcs = glob( srcs = glob(
# [ [
# "*", "*",
# ], ],
# ), ),
# strip_prefix = strip_prefix.from_root("rust"), strip_prefix = strip_prefix.from_root("rust"),
# visibility = ["//:__pkg__"], visibility = ["//:__pkg__"],
# ) )
# pkg_files( pkg_files(
# name = "crate_root_files", name = "crate_root_files",
# srcs = glob(["cargo/**/*"]), srcs = glob(["cargo/**/*"]),
# strip_prefix = strip_prefix.from_root("rust/cargo"), strip_prefix = strip_prefix.from_root("rust/cargo"),
# visibility = ["//:__pkg__"], visibility = ["//:__pkg__"],
# ) )
# pkg_filegroup( pkg_filegroup(
# name = "rust_protobuf_src_dir", name = "rust_protobuf_src_dir",
# srcs = [ srcs = [
# ":rust_protobuf_src", ":rust_protobuf_src",
# "//rust/upb:rust_protobuf_upb_src", "//rust/upb:rust_protobuf_upb_src",
# ], ],
# prefix = "src", prefix = "src",
# ) )
# pkg_files( pkg_files(
# name = "amalgamated_upb", name = "amalgamated_upb",
# srcs = ["//upb:gen_amalgamation"], srcs = ["//upb:gen_amalgamation"],
# strip_prefix = strip_prefix.from_root(""), strip_prefix = strip_prefix.from_root(""),
# ) )
# pkg_filegroup( pkg_filegroup(
# name = "rust_protobuf_libupb_src", name = "rust_protobuf_libupb_src",
# srcs = [ srcs = [
# ":amalgamated_upb", ":amalgamated_upb",
# "//upb/cmake:upb_cmake_dist", "//upb/cmake:upb_cmake_dist",
# ], ],
# prefix = "libupb", prefix = "libupb",
# ) )
# pkg_zip( pkg_zip(
# name = "rust_crate", name = "rust_crate",
# srcs = [ srcs = [
# ":crate_root_files", ":crate_root_files",
# ":rust_protobuf_libupb_src", ":rust_protobuf_libupb_src",
# ":rust_protobuf_src_dir", ":rust_protobuf_src_dir",
# "//:LICENSE", "//:LICENSE",
# ], ],
# ) )
# end:github_only # end:github_only

Loading…
Cancel
Save