]> Witch of Git - ivy/commit
[rt] Fix some FFI safety issues
authorCassie Jones <code@witchoflight.com>
Sat, 2 Jan 2021 00:36:57 +0000 (19:36 -0500)
committerCassie Jones <code@witchoflight.com>
Sat, 2 Jan 2021 00:36:57 +0000 (19:36 -0500)
commitb4200b866aa017dc0f1dd33bd7fccbbf27fb52a7
treedfaf82dd6c018f81f09361450e3fb7b67bb77bf3
parentb33a74120e3043eeba38f89933ccf1a96a2d4526
[rt] Fix some FFI safety issues

Need #[repr(C)] on a union to make it FFI safe, and need extern "C" on
FFI function pointers.
Cargo.lock
rt/src/lib.rs