Skip to content

Commit 674587c

Browse files
committed
add option to build enforcing mutability
1 parent 7b81cd8 commit 674587c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ endif
8282
ifdef SAVE_TEMPS
8383
CFG_RUSTC_FLAGS += --save-temps
8484
endif
85+
ifdef ENFORCE_MUT_VARS
86+
CFG_RUSTC_FLAGS += --enforce-mut-vars
87+
endif
8588
ifdef TIME_PASSES
8689
CFG_RUSTC_FLAGS += --time-passes
8790
endif

0 commit comments

Comments
 (0)