seems like that mode is somehow scrubbing the python module init hook from the binary
Thread in Slack Conversation
When you say that it's scrubbing the python module init hook, are you talking about stuff that would be
__attribute__((constructor))
and called at library load time? Trying to track down why the cdylib isn't doing its job despite all the docs saying that's what we want