Replies: 2 comments
-
|
I wasn't aware that function existed, I just checked the docs and it would be a better choice. That said, this functionality will be dropped in the next version of jlrs because it's awkward to use and introduces additional dependencies. It's better to enter a GC-safe region if you want to call long-running Rust code that doesn't call back into Julia. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the ccall_with_threads.rs example, would it be possible to explain why Box::leak() is used as opposed to into_raw(). Is this something specific with the memory management with Julia? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions