I figure this comes somewhat under the purview of UCG -- is this a reasonable request I'm making? Or is it reasonable for a library to say "you just need to not move this thing, ok?".
@JP Sugarbroad libz-sys is just directly exposing libz's interface, it doesn't try to be safe at all
and it's not really a UCG issue
So UCG doesn't try to cover how unsafe code should handle immovable structures?
I suppose I could move this to #t-libs instead.
UCG is mostly concerned with language-level unsafe, which
Pin is not
so, basically, we mostly care about the list at https://doc.rust-lang.org/reference/behavior-considered-undefined.html and everything related
Ok thanks :blush: I'll check with libs team about what they think.