mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
* fix napi_get_value_string_utf8 to match node closes #6949 * [autofix.ci] apply automated fixes * Update test/napi/napi.test.ts Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> * Update test/napi/napi.test.ts Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
18 lines
483 B
Python
18 lines
483 B
Python
{
|
|
"targets": [{
|
|
"target_name": "napitests",
|
|
"cflags!": [ "-fno-exceptions" ],
|
|
"cflags_cc!": [ "-fno-exceptions" ],
|
|
"sources": [
|
|
"main.cpp"
|
|
],
|
|
'include_dirs': [
|
|
"<!@(node -p \"require('node-addon-api').include\")"
|
|
],
|
|
'libraries': [],
|
|
'dependencies': [
|
|
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
],
|
|
'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ]
|
|
}]
|
|
} |