Is union syntax stable?


#1

Is union syntax stable?

I was looking for guides on how to deal with C unions in Rust and I couldn’t find any mention of it. Is it because it’s unstable or because dealing with unions is uncommon in everyday Rust?


#2

Unions are stable as of Rust 1.19: https://blog.rust-lang.org/2017/07/20/Rust-1.19.html


#3

Glad to hear that!

Now to delete all my hacks around unions :put_litter_in_its_place: