make 'reformat' do libstd as well.
This commit is contained in:
parent
af9272f70e
commit
d569a71b0b
1 changed files with 5 additions and 2 deletions
7
mk/pp.mk
7
mk/pp.mk
|
@ -1,7 +1,10 @@
|
||||||
|
|
||||||
|
PP_INPUTS := $(wildcard $(addprefix $(S)src/lib/,*.rs */*.rs)) \
|
||||||
|
$(wildcard $(addprefix $(S)src/comp/,*.rs */*.rs */*/*.rs))
|
||||||
|
|
||||||
reformat: $(SREQ1)
|
reformat: $(SREQ1)
|
||||||
@$(call E, reformat [stage1]: $@)
|
@$(call E, reformat [stage1]: $@)
|
||||||
for i in $(wildcard $(addprefix $(S)src/comp/, \
|
for i in $(PP_INPUTS); \
|
||||||
*.rs */*.rs */*/*.rs)); \
|
|
||||||
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
|
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
|
||||||
--pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
|
--pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue