witty-crayon-22786
01/05/2018, 10:43 PMwitty-crayon-22786
01/05/2018, 10:43 PMhappy-kitchen-89482
01/05/2018, 10:47 PMhappy-kitchen-89482
01/05/2018, 10:47 PMhappy-kitchen-89482
01/05/2018, 10:47 PMwitty-crayon-22786
01/05/2018, 10:48 PMwitty-crayon-22786
01/05/2018, 10:49 PMwitty-crayon-22786
01/05/2018, 10:49 PMwitty-crayon-22786
01/05/2018, 10:49 PMwitty-crayon-22786
01/05/2018, 10:50 PMCargo.toml
... i might be able to try that later todaywitty-crayon-22786
01/05/2018, 10:51 PMwitty-crayon-22786
01/05/2018, 10:59 PMwitty-crayon-22786
01/05/2018, 10:59 PMhappy-kitchen-89482
01/05/2018, 11:10 PMwitty-crayon-22786
01/05/2018, 11:11 PMwitty-crayon-22786
01/05/2018, 11:12 PMhappy-kitchen-89482
01/05/2018, 11:21 PMwitty-crayon-22786
01/05/2018, 11:22 PMrough-minister-58256
01/06/2018, 2:16 AMwide-energy-11069
01/06/2018, 5:10 AMwide-energy-11069
01/06/2018, 5:11 AMwitty-crayon-22786
01/06/2018, 5:21 AMwitty-crayon-22786
01/06/2018, 5:22 AMwide-energy-11069
01/06/2018, 5:27 AMwitty-crayon-22786
01/06/2018, 5:28 AMwide-energy-11069
01/06/2018, 5:31 AMwide-energy-11069
01/06/2018, 5:51 AMcc1: all warnings being treated as errors
witty-crayon-22786
01/06/2018, 6:07 AMdiff --git a/build-support/bin/native/bootstrap.sh b/build-support/bin/native/bootstrap.sh
index aabe01a..f732d46 100644
--- a/build-support/bin/native/bootstrap.sh
+++ b/build-support/bin/native/bootstrap.sh
@@ -93,8 +93,11 @@ function ensure_native_build_prerequisites() {
if [[ ! -x "${CARGO_HOME}/bin/protoc-gen-rust" ]]; then
"${CARGO_HOME}/bin/cargo" install protobuf >&2
fi
- if [[ ! -x "${CARGO_HOME}/bin/grpc_rust_plugin" ]]; then
- "${CARGO_HOME}/bin/cargo" install grpcio-compiler >&2
+ if [[ ! -x "${CARGO_HOME}/bin/grpc_rust_plugin" ]] || ! grep '^"grpcio-compiler .*2acabdbff71e77a14b95b0b30c6d7de516355df7' "${CARGO_HOME}/.crates.toml" >/dev/null 2>/dev/null; then
+ # Force install of a version we know is compatible with the version of grpc we use.
+ # There hasn't been a release since the changes we depend on (<https://github.com/pingcap/grpc-rs/pull/101>)
+ # so we need to manually mess with versions here.
+ "${CARGO_HOME}/bin/cargo" install --force --git=<https://github.com/illicitonion/grpc-rs> --rev=2acabdbff71e77a14b95b0b30c6d7de516355df7 grpcio-compiler >&2
fi
if [[ ! -x "${CARGO_HOME}/bin/rustfmt" ]]; then
"${CARGO_HOME}/bin/cargo" install rustfmt >&2
happy-kitchen-89482
01/08/2018, 12:58 AM