I am able to get unit tests which use the wrapper to deadlock on startup.
It seems to be worse on x86-64 and somehow seems to work on aarch64, but this could be a timing thing.
Best I can tell the rust test execution runtime is violating the libxml2 initialization requirement.
Reference:
Uncertain if this is even fixable in rust-libxml or just needs to be a known issue and documented.
I'm still new-enough to Rust that IDK if replacing INIT_LIBXML_PARSER with a OnceLock instead of a Once would do it.
I am able to get unit tests which use the wrapper to deadlock on startup.
It seems to be worse on x86-64 and somehow seems to work on aarch64, but this could be a timing thing.
Best I can tell the rust test execution runtime is violating the libxml2 initialization requirement.
Reference:
Uncertain if this is even fixable in rust-libxml or just needs to be a known issue and documented.
I'm still new-enough to Rust that IDK if replacing
INIT_LIBXML_PARSERwith aOnceLockinstead of aOncewould do it.