For example: https://github.com/emscripten-core/posixtestsuite/blob/a5e7ff5f906c9a8f18d70f6472c4055bc311c34d/conformance/interfaces/pthread_spin_lock/3-2.c#L28 I'm not sure how common this is in the wild but it hard to make this work in WebAssembly were we have strong type checking on function signatures.
For example:
posixtestsuite/conformance/interfaces/pthread_spin_lock/3-2.c
Line 28 in a5e7ff5
I'm not sure how common this is in the wild but it hard to make this work in WebAssembly were we have strong type checking on function signatures.