Bug 1496296 - Stop broadly setting RUSTC_BOOTSTRAP r=froydnj

Depends on D7679

Differential Revision: https://phabricator.services.mozilla.com/D7680

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Hommey 2018-10-04 13:51:21 +00:00
Родитель d6be7f2ef6
Коммит dc8e21e573
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -900,11 +900,6 @@ else
environment_cleaner =
endif
rust_unlock_unstable =
ifdef MOZ_RUST_SIMD
rust_unlock_unstable += RUSTC_BOOTSTRAP=1
endif
ifdef MOZ_USING_SCCACHE
sccache_wrap := RUSTC_WRAPPER='$(CCACHE)'
endif
@ -955,7 +950,7 @@ endif # MOZ_ASAN
# don't use the prefix when make -n is used, so that cargo doesn't run
# in that case)
define RUN_CARGO
$(if $(findstring n,$(filter-out --%, $(MAKEFLAGS))),,+)env $(environment_cleaner) $(rust_unlock_unstable) $(sccache_wrap) \
$(if $(findstring n,$(filter-out --%, $(MAKEFLAGS))),,+)env $(environment_cleaner) $(sccache_wrap) \
CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) \
RUSTFLAGS='$(2)' \
RUSTC=$(RUSTC) \