Closed notgull closed 1 year ago
@AltF02 Any chance you could take another look at this? This is a soundness issue as much as a convenience issue, since it gets rid of the bespoke unsafe code for shared library initialization.
Hi, excuses. I was very busy the past weeks
cargo fmt
has been run on this branchcargo doc
builds successfullyCHANGELOG.md
if knowledge of this change could be valuable to usersThis PR makes it so the X11 linked libraries are only loaded once. This PR also replaces
lazy_static
with theonce_cell
crate, sincelazy_static
has largely been replaced withonce_cell
within the Rust ecosystem.