diff options
author | Aapo Alasuutari <aapo.alasuutari@gmail.com> | 2022-10-07 07:50:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 10:20:18 +0530 |
commit | 19e4e821d582b625797b8a17737dfa823a6aca21 (patch) | |
tree | d1860afebf98ab49002db6f133c17d3b8e85fc62 /cli/napi/js_native_api.rs | |
parent | 5733de8a2e1e9bd821733f530a33d9a6c1f5c460 (diff) |
fix(ext/ffi): Fix usize and isize FFI callback parameters missing match arm (#16172)
Mea culpa. Back when I re-introduced parameter and return value types to
FFI callbacks I failed to properly account for the change in match arm
logic. As a result, usize and isize parameters in FFI callbacks
currently enter the branch meant for void only.
This PR changes the match arms to all be explicit, making sure that void
is the only arm marked unreachable and that it stays that way.
Diffstat (limited to 'cli/napi/js_native_api.rs')
0 files changed, 0 insertions, 0 deletions