From a80ff75d7e4c132c4f9dbb2a3691b24fc5d06222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Mah=C3=A9?= Date: Fri, 29 Jun 2018 12:09:25 -0700 Subject: [PATCH] Reference working rust nightly versions --- INSTALL.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index ccf82df..7788119 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -12,7 +12,8 @@ git clone https://github.com/Plume-org/Plume.git curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --default-toolchain nightly cd Plume rustup toolchain install nightly -rustup override set nightly-2018-05-15 # this seems to be needed for compilation +rustup toolchain default nightly +rustup update cargo install diesel_cli --no-default-features --features postgres # we dont need to compile anything else than pgsql ``` @@ -57,3 +58,13 @@ DB_URL=postgres://plume:PASSWORD@DBSERVERIP:DBPORT/plume cargo run # the first l # Caveats: * Pgbouncer is not yet supported ( named transactions are used ). +* Rust nightly is a moving target, dependancies can break and sometimes you need to check a few versions to find the one working. + +```bash +cd /home/plume/Plume +rustup override set nightly-2018-05-15 # this could be needed for compilation. If errors, try 2018-05-31. +# rustup override unset # remove the override for this directory. +``` + +* Rust nightly 2018-06-28 is known to be failing to compile diesel 1.3.2 +