Skip to content

Commit 67d1a5d

Browse files
committed
No --cmi
1 parent 515fd3b commit 67d1a5d

9 files changed

Lines changed: 9 additions & 17 deletions

File tree

book/tutorial/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@ FSTAR_EXTRACT = --extract 'OCaml:-* +Spec'
4444
# - 241: stale dependencies, almost always a sign that the build is incorrect
4545
#
4646
# But also:
47-
# - --cmi, for cross-module inlining, a must-have for anyone who relies on
48-
# inline_for_extraction in the presence of interfaces
4947
# - --cache_dir, to place checked files there
5048

5149
FSTAR_NO_FLAGS = $(FSTAR_EXE) --ext optimize_let_vc \
52-
--odir obj $(FSTAR_INCLUDES) --cmi \
50+
--odir obj $(FSTAR_INCLUDES) \
5351
--already_cached 'Prims FStar LowStar C Spec.Loops TestLib WasmSupport' --warn_error '+241@247+285' \
5452
--cache_dir obj
5553

krmllib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ifneq ($(RESOURCEMONITOR),)
4747
endif
4848

4949
FSTAR = $(RUNLIM) $(FSTAR_EXE) $(FSTAR_OPTIONS) --cache_dir obj \
50-
$(addprefix --include , $(INCLUDE_PATHS)) --cmi \
50+
$(addprefix --include , $(INCLUDE_PATHS)) \
5151
--already_cached 'Prims FStar -FStar.Krml.Endianness LowStar -LowStar.Lib'
5252

5353
# Note: not compatible with the OPAM layout until fstar can be queried for the

test/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ FSTAR = $(FSTAR_EXE) \
8888
$(INCLUDE_CRYPTO) --include ../book --include ../book/notfslit --ext optimize_let_vc \
8989
--already_cached 'Prims FStar C TestLib Spec.Loops -C.Compat -C.Nullity LowStar WasmSupport' \
9090
--trivial_pre_for_unannotated_effectful_fns false \
91-
--cmi --warn_error -274
91+
--warn_error -274
9292

9393
all: $(FILES) rust $(WASM_FILES) $(CUSTOM) ctypes-test sepcomp-test rust-val-test bundle-test rust-propererasure-bundle-test
9494

test/bundle/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ include Makefile.include
3636
# - 241: stale dependencies, almost always a sign that the build is incorrect
3737
#
3838
# But also:
39-
# - --cmi, for cross-module inlining, a must-have for anyone who relies on
40-
# inline_for_extraction in the presence of interfaces
4139
# - --cache_dir, to place checked files there
4240

4341
FSTAR_EXE ?= fstar.exe
4442
FSTAR_NO_FLAGS = $(FSTAR_EXE) \
45-
--odir obj $(FSTAR_INCLUDES) --cmi \
43+
--odir obj $(FSTAR_INCLUDES) \
4644
--already_cached 'Prims FStar LowStar C Spec.Loops TestLib WasmSupport' --warn_error '+241@247+285' \
4745
--cache_dir obj
4846

test/rust-propererasure-bundle/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FSTAR = $(FSTAR_EXE) --cache_checked_modules \
1818
--ext optimize_let_vc \
1919
--already_cached 'Prims FStar C TestLib Spec.Loops -C.Compat -C.Nullity LowStar WasmSupport' \
2020
--trivial_pre_for_unannotated_effectful_fns false \
21-
--cmi --warn_error -274
21+
--warn_error -274
2222
SED=$(shell which gsed >/dev/null 2>&1 && echo gsed || echo sed)
2323

2424
all: derived.rust-test

test/rust-val/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FSTAR = $(FSTAR_EXE) --cache_checked_modules \
2020
--ext optimize_let_vc \
2121
--already_cached 'Prims FStar C TestLib Spec.Loops -C.Compat -C.Nullity LowStar WasmSupport' \
2222
--trivial_pre_for_unannotated_effectful_fns false \
23-
--cmi --warn_error -274
23+
--warn_error -274
2424
SED=$(shell which gsed >/dev/null 2>&1 && echo gsed || echo sed)
2525

2626
all: rusttest.rust-test impl

test/rust-val/impl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FSTAR = $(FSTAR_EXE) --cache_checked_modules \
1919
--ext optimize_let_vc \
2020
--already_cached 'Prims FStar C TestLib Spec.Loops -C.Compat -C.Nullity LowStar WasmSupport' \
2121
--trivial_pre_for_unannotated_effectful_fns false \
22-
--cmi --warn_error -274
22+
--warn_error -274
2323
SED=$(shell which gsed >/dev/null 2>&1 && echo gsed || echo sed)
2424

2525
all: auxiliary.rust-test

test/sepcomp/a/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ include Makefile.include
3636
# - 241: stale dependencies, almost always a sign that the build is incorrect
3737
#
3838
# But also:
39-
# - --cmi, for cross-module inlining, a must-have for anyone who relies on
40-
# inline_for_extraction in the presence of interfaces
4139
# - --cache_dir, to place checked files there
4240

4341
FSTAR_EXE ?= fstar.exe
4442
FSTAR_NO_FLAGS = $(FSTAR_EXE) \
45-
--odir obj $(FSTAR_INCLUDES) --cmi \
43+
--odir obj $(FSTAR_INCLUDES) \
4644
--already_cached 'Prims FStar LowStar C Spec.Loops TestLib WasmSupport' --warn_error '+241@247+285' \
4745
--cache_dir obj
4846

test/sepcomp/b/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ include Makefile.include
3636
# - 241: stale dependencies, almost always a sign that the build is incorrect
3737
#
3838
# But also:
39-
# - --cmi, for cross-module inlining, a must-have for anyone who relies on
40-
# inline_for_extraction in the presence of interfaces
4139
# - --cache_dir, to place checked files there
4240

4341
FSTAR_EXE ?= fstar.exe
4442
FSTAR_NO_FLAGS = $(FSTAR_EXE) \
45-
--odir obj $(FSTAR_INCLUDES) --cmi \
43+
--odir obj $(FSTAR_INCLUDES) \
4644
--already_cached 'Prims FStar LowStar C Spec.Loops TestLib WasmSupport A' --warn_error '+241@247+285' \
4745
--cache_dir obj
4846

0 commit comments

Comments
 (0)