From 674587cfe5a871336f6337eabae75b20882faff5 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 6 Mar 2012 20:48:55 -0800 Subject: [PATCH] add option to build enforcing mutability --- Makefile.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.in b/Makefile.in index 9d6cdea27f6..e26abb136d5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,6 +82,9 @@ endif ifdef SAVE_TEMPS CFG_RUSTC_FLAGS += --save-temps endif +ifdef ENFORCE_MUT_VARS + CFG_RUSTC_FLAGS += --enforce-mut-vars +endif ifdef TIME_PASSES CFG_RUSTC_FLAGS += --time-passes endif