You can now run unsafe Rust code... on the JVM!
I just shipped support for some basic unions (consisting of primitives and structs) to my project, rustc_codegen_jvm.
Here's the test case that passes on CI JVM. Recently I also added support for function pointers and modules!