Make function pointer fields machine independent
commite1b536f5156d2879db7c484ff51b305134fbbcc6
authorKaty Voor <voork@fb.com>
Thu, 14 Oct 2021 08:48:35 +0000 (14 01:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 14 Oct 2021 08:51:13 +0000 (14 01:51 -0700)
tree65f554d61caf41e48d0c548925d35bbc8b983099
parent7572e855a9d6a1d538b4157030c185d36495726b
Make function pointer fields machine independent

Summary:
The right way to store a pointer as an integer is using the `uintptr_t` and `usize` types

https://doc.rust-lang.org/std/primitive.usize.html

Reviewed By: shayne-fletcher

Differential Revision: D31534363

fbshipit-source-id: 55e61eff077befaadca0bd66b009aec5cea06246
hphp/hack/src/hhbc/ffi_bridge/rust_compile_ffi_bridge.rs