Improve FFI Rust safety
commit068201ae01abab1b83dc87bbac11ac82d4736eee
authorShayne Fletcher <shaynefletcher@fb.com>
Wed, 24 Feb 2021 19:32:35 +0000 (24 11:32 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 26 Feb 2021 00:31:16 +0000 (25 16:31 -0800)
treeeb18def7d13edf6d6772774811c93802db61badc
parent2ff5027bd09375de75c68d34d56476d1d2494991
Improve FFI Rust safety

Summary: Mark C FFIs not just `extern` but `unsafe extern`.

Differential Revision: D26610176

fbshipit-source-id: 8b8bb9541a67dc6bf50ac05ab689427f715702fa
hphp/hack/src/facts/rust_facts_ffi.rs
hphp/hack/src/hhbc/compile_ffi.rs
hphp/hack/src/parser/positioned_full_trivia_parser_ffi.rs