diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-05-18 12:49:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 12:49:56 +0200 |
commit | 9dc3ae8523364b8df6b8e92346907d1020e80d33 (patch) | |
tree | c183f1390c0630729fe2ca864d5284641e7a0e8b /test_napi/src/lib.rs | |
parent | 99c30285ffa14097978f220a05809cbf8f68b9d3 (diff) |
fix(napi): BigInt related APIs (#19174)
Doesn't make the API bullet-proof and there are some TODOs left,
but greatly improves the situation. Tests were ported from Node.js.
Closes https://github.com/denoland/deno/issues/18276.
Diffstat (limited to 'test_napi/src/lib.rs')
-rw-r--r-- | test_napi/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test_napi/src/lib.rs b/test_napi/src/lib.rs index dba9f65a5..a5a9866ce 100644 --- a/test_napi/src/lib.rs +++ b/test_napi/src/lib.rs @@ -9,6 +9,7 @@ use napi_sys::*; pub mod array; pub mod arraybuffer; pub mod r#async; +pub mod bigint; pub mod callback; pub mod coerce; pub mod date; @@ -156,6 +157,7 @@ unsafe extern "C" fn napi_register_module_v1( date::init(env, exports); tsfn::init(env, exports); mem::init(env, exports); + bigint::init(env, exports); init_cleanup_hook(env, exports); |