Skip to content

Commit

Permalink
SMT: make --record_hints settable
Browse files Browse the repository at this point in the history
After previous patch, this now works fine to regenerate hints for only a
few definitions, perhaps admitting the rest.
  • Loading branch information
mtzguido committed Jan 30, 2025
1 parent 8104f1b commit a096cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/basic/FStarC.Options.fst
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,7 @@ let settable = function
| "quake"
| "query_cache"
| "query_stats"
| "record_hints"
| "record_options"
| "retry"
| "reuse_hint_for"
Expand Down
2 changes: 1 addition & 1 deletion src/smtencoding/FStarC.SMTEncoding.Solver.fst
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ type solver_cfg = {
valid_intro : bool;
valid_elim : bool;
z3version : string;
context_pruning : bool
context_pruning : bool;
}
let _last_cfg : ref (option solver_cfg) = BU.mk_ref None
Expand Down

0 comments on commit a096cac

Please sign in to comment.