summaryrefslogtreecommitdiff
path: root/cli/bench/napi/bench_node.mjs
diff options
context:
space:
mode:
authorAapo Alasuutari <aapo.alasuutari@gmail.com>2022-10-07 07:50:18 +0300
committerGitHub <noreply@github.com>2022-10-07 10:20:18 +0530
commit19e4e821d582b625797b8a17737dfa823a6aca21 (patch)
treed1860afebf98ab49002db6f133c17d3b8e85fc62 /cli/bench/napi/bench_node.mjs
parent5733de8a2e1e9bd821733f530a33d9a6c1f5c460 (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/bench/napi/bench_node.mjs')
0 files changed, 0 insertions, 0 deletions