Closed andrewmw94 closed 4 months ago
A working example with this locally is available here: https://github.com/andrewmw94/lean_rust_ffi_example
Thanks for taking this! Do you know when it'll get pushed to crates.io? We'd like to run cargo test
with multiple threads.
it's up now
Upgrade to Lean 4.8.0 and add
lean_initialize_thread
andlean_finalize_thread
.Lean added these functions to support multiple FFI threads in this PR: https://github.com/leanprover/lean4/commit/3921257ecef826177cf55ca1082ff76f100b10ca which was released in Lean 4.8.0.