mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 10:55:14 +00:00
make 'reformat' do libstd as well.
This commit is contained in:
parent
af9272f70e
commit
d569a71b0b
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)
|
||||
@$(call E, reformat [stage1]: $@)
|
||||
for i in $(wildcard $(addprefix $(S)src/comp/, \
|
||||
*.rs */*.rs */*/*.rs)); \
|
||||
for i in $(PP_INPUTS); \
|
||||
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
|
||||
--pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user