fix: use enableInitializersExecution at leanpkg

This commit is contained in:
Leonardo de Moura 2021-08-16 18:02:51 -07:00
parent a05b7589b5
commit b01239b25b

View file

@ -219,6 +219,7 @@ end Leanpkg
def main (args : List String) : IO UInt32 := do
try
Lean.enableInitializersExecution
Lean.initSearchPath none -- HACK
let (cmd, outerArgs, innerArgs) ← Leanpkg.splitCmdlineArgs args
Leanpkg.main cmd outerArgs innerArgs