Skip to content

Commit

Permalink
Merge pull request #2 from luongngocminh/fix/protoc-release
Browse files Browse the repository at this point in the history
fix: try fixing protoc release
  • Loading branch information
luongngocminh authored Jan 5, 2024
2 parents 2dc33d8 + 7ded3fd commit 6252b55
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@ passthrough = [
"LIBSOXR_STATIC",
"OPENSSL_STATIC"
]

[target.x86_64-unknown-linux-gnu]
pre-build = ["apt-get update && apt-get install protobuf-compiler"]
[target.x86_64-unknown-linux-musl]
pre-build = ["apt-get update && apt-get install protobuf-compiler"]
[target.aarch64-unknown-linux-gnu]
pre-build = ["apt-get update && apt-get install protobuf-compiler"]
[target.x86_64-apple-darwin]
pre-build = ["apt-get update && apt-get install protobuf-compiler"]
[target.aarch64-apple-darwin]
pre-build = ["apt-get update && apt-get install protobuf-compiler"]

0 comments on commit 6252b55

Please sign in to comment.