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
ffi/CString: Note that with system allocator, C free() is safe
This text originated with e20a6db
which was in 2015 when Rust was strongly oriented towards jemalloc.
We now support the system allocator, and it's the default.
Returning strings from Rust to C is much more ergonomic if one can
invoke `free()` directly, so let's make that clear.
0 commit comments