[target.i686-unknown-linux-gnu] pre-build = [ "apt-get update && apt-get install --assume-yes unzip", "curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-linux-x86_64.zip", "unzip protoc-27.3-linux-x86_64.zip -d $HOME/.local", "rm protoc-27.3-linux-x86_64.zip", "mv $HOME/.local/bin/* /usr/bin/", ] [target.aarch64-unknown-linux-gnu] pre-build = [ "apt-get update && apt-get install --assume-yes unzip", "curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-linux-x86_64.zip", "unzip protoc-27.3-linux-x86_64.zip -d $HOME/.local", "rm protoc-27.3-linux-x86_64.zip", "mv $HOME/.local/bin/* /usr/bin/", ]