mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +03:00
Add a 5 second time-out to calls to z3
This commit is contained in:
parent
ccc4b828c2
commit
9f3f592a2f
@ -623,7 +623,7 @@ userOptions = mkOptionMap
|
||||
setModuleEnv me { M.meMonoBinds = b }
|
||||
_ -> return ()
|
||||
|
||||
, OptionDescr "tc-solver" (EnvProg "z3" [ "-smt2", "-in" ])
|
||||
, OptionDescr "tc-solver" (EnvProg "z3" [ "-smt2", "-t:5000", "-in" ])
|
||||
(const (return Nothing)) -- TODO: check for the program in the path
|
||||
"The solver that will be used by the type checker" $
|
||||
\case EnvProg prog args -> do me <- getModuleEnv
|
||||
|
Loading…
Reference in New Issue
Block a user