google / rust_icu

rust_icu: rust bindings for ICU (International Components for Unicode) library
Apache License 2.0
113 stars 34 forks source link

Fixup sync send #283

Closed filmil closed 11 months ago

filmil commented 12 months ago

The implementation of UDataMemory via NonNull prevented using UDataMemory in threaded contexts. Now, in general this is correct. But in our case, there is no other way to use the data in threaded context except through the C++ library which requires holding a pointer. So...

Issue: #282