@@ -32,8 +32,6 @@ include Makefile.include
3232# Definition of F* flags
3333# ----------------------
3434
35- FSTAR_HINTS ?= --use_hints --use_hint_hashes --record_hints
36-
3735# This flag controls what gets extracted to OCaml. Generally, we don't extract
3836# the FStar namespace since it's already extracted and packaged as the ocamlfind
3937# package fstar.lib. Here, unlike in -bundle, +Spec matches both Spec and
@@ -51,10 +49,10 @@ FSTAR_EXTRACT = --extract 'OCaml:-* +Spec'
5149# - --cache_checked_modules to rely on a pre-built ulib and krmllib
5250# - --cache_dir, to avoid polluting our generated build artifacts outside o
5351
54- FSTAR_NO_FLAGS = $(FSTAR_EXE ) $( FSTAR_HINTS ) \
52+ FSTAR_NO_FLAGS = $(FSTAR_EXE ) --ext context_pruning \
5553 --odir obj --cache_checked_modules $(FSTAR_INCLUDES ) --cmi \
5654 --already_cached 'Prims FStar LowStar C Spec.Loops TestLib WasmSupport' --warn_error '+241@247+285' \
57- --cache_dir obj --hint_dir hints
55+ --cache_dir obj
5856
5957# Initial dependency analysis
6058# ---------------------------
@@ -92,9 +90,6 @@ FSTAR = $(FSTAR_NO_FLAGS) $(OTHERFLAGS)
9290
9391# Creating these directories via a make rule, rather than rely on F* creating
9492# them, as two calls to F* might race.
95- hints :
96- mkdir $@
97-
9893obj :
9994 mkdir $@
10095
119114# Note: F* will not change the mtime of a checked file if it is
120115# up-to-date (checksum matches, file unchanged), but this will confuse
121116# make and result in endless rebuilds. So, we touch that file.
122- % .checked : | hints obj
117+ % .checked : | obj
123118 $(FSTAR ) $< $(FSTAR_FLAGS ) && touch -c $@
124119
125120# Extraction
0 commit comments