elide need for explicit arena in hhas ffi
commit90767a7d7d1238538bc15d5ebc79faef014563f8
authorShayne Fletcher <shaynefletcher@fb.com>
Thu, 14 Oct 2021 14:05:54 +0000 (14 07:05 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 14 Oct 2021 14:07:37 +0000 (14 07:07 -0700)
treef27fa2cdcf95094bcb016f70853291f93af17181
parent8a8a81898673ccaaee07c529a8aea8a9a6a29b39
elide need for explicit arena in hhas ffi

Summary: i made `hackc_compile_hhas_from_text_cpp_ffi` acquire the arena in which to build the hhas and move that arena into the return value along with the result. i believe this points the way to eliminating `hackc_create_arena` completely.

Differential Revision: D31617252

fbshipit-source-id: 2c52e1178aea2542733a449685b2bf17922fb7b4
hphp/hack/src/hhbc/ffi_bridge/rust_compile_ffi_bridge.rs