We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6c5ce commit aa16865Copy full SHA for aa16865
src/coq_elpi_vernacular.ml
@@ -622,7 +622,11 @@ let debug vl = debug_vars := List.fold_right EC.StrSet.add vl EC.StrSet.empty
622
let bound_steps n =
623
if n <= 0 then max_steps := default_max_step else max_steps := n
624
625
-let compiler_cache = ref SLMap.empty
+(* Units are marshalable, but programs are not *)
626
+let compiler_cache = Summary.ref
627
+ ~freeze:(fun ~marshallable x -> if marshallable then SLMap.empty else x)
628
+ ~name:"elpi-compiler-cache"
629
+ SLMap.empty
630
631
let compile name baseul extra =
632
try
0 commit comments