How to call rust code from delphi

How to call rust code from delphi

If you know how to call c code from Delphi, you expose a c api from your rust library (as described in the FFI chapter of the book) , then call that.

2 Likes

Thanks.

Can you share any documents or link.

https://doc.rust-lang.org/stable/book/ch19-01-unsafe-rust.html#calling-rust-functions-from-other-languages