tox-rs / rstox

Rust bindings to c-toxcore
GNU General Public License v3.0
16 stars 7 forks source link

Replace mem::uninitialized with mem::MaybeUninit #37

Closed JFreegman closed 4 years ago

JFreegman commented 4 years ago

uninitialized has been deprecated and was causing panics. see: https://doc.rust-lang.org/std/mem/fn.uninitialized.html

This addresses issue https://github.com/tox-rs/rstox/issues/36

Also, my Rust is a little rusty, so apologies in advance if I did anything strange or incorrect.

kpp commented 4 years ago

For some reason there is an issue with TravisCI, so we switched to Github Actions which works perfectly. Would you please rebase onto master?