Skip to content

Commit d569a71

Browse files
committed
make 'reformat' do libstd as well.
1 parent af9272f commit d569a71

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

mk/pp.mk

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
2+
PP_INPUTS := $(wildcard $(addprefix $(S)src/lib/,*.rs */*.rs)) \
3+
$(wildcard $(addprefix $(S)src/comp/,*.rs */*.rs */*/*.rs))
4+
15
reformat: $(SREQ1)
26
@$(call E, reformat [stage1]: $@)
3-
for i in $(wildcard $(addprefix $(S)src/comp/, \
4-
*.rs */*.rs */*/*.rs)); \
7+
for i in $(PP_INPUTS); \
58
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
69
--pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
710
done

0 commit comments

Comments
 (0)