3 ms·
Surely that must be a specific allocator. Does rust allow you to use say jemalloc or alternatives? Or are you saying this lock is acquired no matter which alloc
by hawk_ 3y ago
Surely that must be a specific allocator. Does rust allow you to use say jemalloc or alternatives? Or are you saying this lock is acquired no matter which allocator is used?
- connicpu 3y agoYeah you can override the global allocator pretty easily[1]. But the default uses the system allocator, and I guess it sounds like Wine's is pretty bad [1]: https://doc.rust-lang.org/std/alloc/index.html#the-global_allocator-attribute https://doc.rust-lang.org/std/alloc/index.html#the-global_al...
- Animats 3y agoIt's in the DLL that Wine uses to emulate Windows. Not in the Rust library. Bug report: [1] [1] https://bugs.winehq.org/show_bug.cgi?id=54979 https://bugs.winehq.org/show_bug.cgi?id=54979