We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5dc138 commit 49742b8Copy full SHA for 49742b8
Makefile.in
@@ -240,3 +240,4 @@ include $(CFG_SRC_DIR)/mk/snap.mk
240
include $(CFG_SRC_DIR)/mk/clean.mk
241
include $(CFG_SRC_DIR)/mk/autodep.mk
242
include $(CFG_SRC_DIR)/mk/fuzzer.mk
243
+include $(CFG_SRC_DIR)/mk/pp.mk
mk/pp.mk
@@ -0,0 +1,7 @@
1
+reformat: $(SREQ1)
2
+ @$(call E, reformat [stage1]: $@)
3
+ for i in $(wildcard $(addprefix $(S)src/comp/, \
4
+ *.rs */*.rs */*/*.rs)); \
5
+ do $(call CFG_RUN_TARG,stage1, stage1/rustc$(X)) \
6
+ --pretty $$i >$$i.tmp && mv $$i.tmp $$i; \
7
+ done
0 commit comments