node-bindgen icon indicating copy to clipboard operation
node-bindgen copied to clipboard

problem with running api v6 on windows

Open sehz opened this issue 5 years ago • 1 comments

steps to reproduce:

  • check out branch support_v14 on windows platform
  • cd examples\function
  • make test

this generates:

Finished dev [unoptimized + debuginfo] target(s) in 13.20s
node test.js
make: *** [Makefile:7: test] Error -1073741819

sehz avatar Aug 01 '20 00:08 sehz

Appears to be breaking on https://github.com/infinyon/node-bindgen/blob/master/nj-core/src/basic.rs#L348 when attempting to convert the napi result in the napi_call_result! macro on https://github.com/infinyon/node-bindgen/blob/master/nj-core/src/lib.rs#L67

napi_get_cb_info signature looks good. Checking if there have been breaking changes.

Ryanmtate avatar Aug 04 '20 22:08 Ryanmtate