mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
Added CFG_NOTIDY flag to the build
This should allow a small speedup for test builds; unset by default
This commit is contained in:
parent
b6af844f3a
commit
25b44a8973
@ -80,6 +80,9 @@ check-fast: tidy \
|
||||
test/$(FT_DRIVER).out
|
||||
|
||||
# Run the tidy script in multiple parts to avoid huge 'echo' commands
|
||||
ifdef CFG_NOTIDY
|
||||
tidy:
|
||||
else
|
||||
tidy:
|
||||
@$(call E, check: formatting)
|
||||
$(Q)echo \
|
||||
@ -97,7 +100,7 @@ tidy:
|
||||
$(Q)echo \
|
||||
$(ALL_TEST_INPUTS) \
|
||||
| xargs -n 10 python $(S)src/etc/tidy.py
|
||||
|
||||
endif
|
||||
|
||||
######################################################################
|
||||
# Rules for the test runners
|
||||
|
Loading…
Reference in New Issue
Block a user