mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
8 lines
271 B
Makefile
8 lines
271 B
Makefile
|
reformat: $(SREQ1)
|
||
|
@$(call E, reformat [stage1]: $@)
|
||
|
for i in $(wildcard $(addprefix $(S)src/comp/, \
|
||
|
*.rs */*.rs */*/*.rs)); \
|
||
|
do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
|
||
|
--pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
|
||
|
done
|