Crate names must not contain '-'. So we replace any '-' by a '_' to form a valid crate name. Bazel supports many special characters as target names: !%-@^_"#$&'()*-+,;<=>?[]{|}~/. We don't have to support all of them in Protobuf Rust, but '-' seems used widely enough and is a common alternative to '_' in naming. PiperOrigin-RevId: 602963206pull/15657/head
parent
58b582ba31
commit
6f1d88107f
3 changed files with 11 additions and 6 deletions
Loading…
Reference in new issue