From d3baf1637bf10d271d0bb2feced232d76d0ee8e2 Mon Sep 17 00:00:00 2001 From: Mahmoud Al-Qudsi Date: Wed, 13 Dec 2017 09:28:35 -0600 Subject: [PATCH] Makefile update to write cargo.out and compile against nightly --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a9e37da..a485a08 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -CARGO = cargo +CARGO = cargo +$(TOOLCHAIN) +TOOLCHAIN = nightly .PHONY: all bench build check clean doc install publish run test update @@ -8,7 +9,7 @@ bench: @$(CARGO) bench build: - @env TERM=xterm-256color $(CARGO) build --color=always 2>&1 + @env TERM=xterm-256color $(CARGO) build --color=always 2>&1 && rm -f cargo.out || $(CARGO) build 2> cargo.out check: build test