String won't drop
I am using your instructions to create a CString in Rust, then return its into_raw() to C# and pass that back to Rust to be dropped, but when I go to drop it crashes the entire program. If I print the string at that pointer, it's garbage data. What could be happening?
The CString section was written as an example of how the passing of CStrings would be done with this method signature. It would be better to make it work properly...
I think maybe C# is dropping the string by itself before it comes back to Rust to do it
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.