Skip to content

Commit 92a4c0c

Browse files
committed
Ignore xfail-pretty, xfail-stage2 files when reformatting
We shouldn't be trying to reformat source that we don't know to work because we could just be breaking it more.
1 parent 6360082 commit 92a4c0c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mk/pp.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ else
88
$(S)src/test/*/*/*.rs) \
99
$(wildcard $(S)src/fuzzer/*.rs)
1010

11-
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L no-reformat)
11+
PP_INPUTS_FILTERED = $(shell echo $(PP_INPUTS) | xargs grep -L \
12+
"no-reformat\|xfail-pretty\|xfail-stage2")
1213
endif
1314

1415
reformat: $(SREQ1)

0 commit comments

Comments
 (0)