Fix label_to_crate_name() in OSS

PiperOrigin-RevId: 676467127
pull/18409/head
Protobuf Team Bot 2 months ago committed by Copybara-Service
parent 9a60e5d001
commit 87f9ecc14d
  1. 2
      rust/aspects.bzl

@ -35,7 +35,7 @@ RustProtoInfo = provider(
)
def label_to_crate_name(ctx, label, toolchain):
return str(label).rsplit(":", 1)[1].replace("-", "_")
return label.name.replace("-", "_")
def proto_rust_toolchain_label(is_upb):
if is_upb:

Loading…
Cancel
Save