nightly is on always

This commit is contained in:
Nikolay Kim 2017-06-11 22:28:54 -07:00
parent 52df3a4323
commit a517b994ca
1 changed files with 0 additions and 10 deletions

View File

@ -3,21 +3,11 @@
ifndef PY
PY := $(word 2, $(subst ., ,$(shell python --version 2>&1)))
endif
ifndef NIGHTLY
ifeq ($(word 3, $(subst -, ,$(shell rustc --version 2>&1))),nightly)
NIGHTLY := 1
else
NIGHTLY := 0
endif
endif
ifdef PEP384
export PEP384=1
FEATURES := pep-384
endif
ifeq ($(NIGHTLY),1)
FEATURES := $(FEATURES) nightly
endif
CARGO_FLAGS := --features "$(FEATURES)" --no-default-features