提交 d569a71b 编写于 作者: G Graydon Hoare

make 'reformat' do libstd as well.

上级 af9272f7
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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册