diff --git a/Cross.toml b/Cross.toml index f4997803..7e6ac32d 100644 --- a/Cross.toml +++ b/Cross.toml @@ -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"] \ No newline at end of file