Makefile update to write cargo.out and compile against nightly

rust-46711
Mahmoud Al-Qudsi 2017-12-13 09:28:35 -06:00
parent 46c5d902ee
commit d3baf1637b
1 changed files with 3 additions and 2 deletions

@ -1,4 +1,5 @@
CARGO = cargo CARGO = cargo +$(TOOLCHAIN)
TOOLCHAIN = nightly
.PHONY: all bench build check clean doc install publish run test update .PHONY: all bench build check clean doc install publish run test update
@ -8,7 +9,7 @@ bench:
@$(CARGO) bench @$(CARGO) bench
build: 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 check: build test