aboutsummaryrefslogtreecommitdiffstats
path: root/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 3c73bce..b4bffcf 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -75,5 +75,8 @@ Vagrant.configure("2") do |config|
su - vagrant -c "cargo install -q diesel_cli --no-default-features --features postgres"
su - vagrant -c 'echo "PATH=$HOME/.cargo/bin:$PATH" >> ~/.bash_profile'
+ # Set the incremental build cache to a filesystem that supports hard links
+ su - vagrant -c "echo export RUSTFLAGS='-C incremental=$HOME/tmp/rust' >> ~/.bashrc
+
SHELL
end