You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure lean_initialize is called when Lean is only privately imported (#14505)
This PR fixes a compiler issue where private imports of the `Lean`
library could lead to segfaults by ensuring the necessary call to
`lean_initialize` happens in each module's initializer when necessary.
As a follow-up clean up, the call to `lean_initialize_runtime_module` is
made implicit as well, meaning users of Lean as an FFI library do not
need to call these functions themselves anymore.
0 commit comments