From 31f22b1535feaa031586bdb6d16e2a306fd62a38 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 21 Jun 2015 13:26:10 +0200 Subject: [PATCH] chore(cargo): one target dir for all projects Starting from cargo 0.3.0, one can override the target-directory to be an absolute path, forcing all output to be dumped into one and the same target dir. That way, all dependencies are shared among the projects, saving 4 to 7 minutes per project in debug and release mode respectively. --- .cargo/config | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .cargo/config diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000000..a6b014e959 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,2 @@ +[build] +target-dir = "target"