Skip to content

Commit

Permalink
Fix "unused function" warnings in utf8_range
Browse files Browse the repository at this point in the history
This issue has been fixed upstream, so we just override the version
provided by com_google_protobuf with this newer version.
  • Loading branch information
aaronmondal committed Jul 14, 2023
1 parent fcdf192 commit f048352
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ rust_register_toolchains(

load(
"@rules_rust//crate_universe:defs.bzl",
"crate",
"crates_repository",
"render_config",
)
Expand Down Expand Up @@ -70,4 +69,15 @@ http_archive(

load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")

# The version of utf8_range provided by com_google_protobuf raises warnings
# which have been cleaned up in this slightly newer commit.
http_archive(
name = "utf8_range",
sha256 = "568988b5f7261ca181468dba38849fabf59dd9200fb2ed4b2823da187ef84d8c",
strip_prefix = "utf8_range-d863bc33e15cba6d873c878dcca9e6fe52b2f8cb",
urls = [
"https://github.com/protocolbuffers/utf8_range/archive/d863bc33e15cba6d873c878dcca9e6fe52b2f8cb.zip",
],
)

protobuf_deps()

0 comments on commit f048352

Please sign in to comment.