In Release mode, it seems that Swift is copying the memory or aliasing it or something - the address of the Swift variable is different than the address of the C allocation. And because the compiler thinks the struct's field is an array of length 1, it doesn't know to copy/alias the right amount of memory.
I feel there must be a way to tell the compiler "just use the C memory as-is, where-is" (which is what happens in Debug mode). Anyone have any ideas? (2/3)