Skip to content

Commit a345842

Browse files
committed
Update main.mk
1 parent 68d399d commit a345842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk/main.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ ifdef CFG_DISABLE_OPTIMIZE
131131
CFG_JEMALLOC_FLAGS += --enable-debug
132132
else
133133
# The rtopt cfg turns off runtime sanity checks
134-
CFG_RUSTC_FLAGS += -O --cfg rtopt
134+
CFG_RUSTC_FLAGS += -C opt-level=2 --cfg rtopt
135135
endif
136136

137137
CFG_JEMALLOC_FLAGS += $(JEMALLOC_FLAGS)

0 commit comments

Comments
 (0)