diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-02-17 18:48:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-17 18:48:09 +0530 |
commit | f8435d20b0e9408e50bfb24793becc0e476cc285 (patch) | |
tree | 221044e2b0dbc7bbabe0f12412ddedeb4daf4851 /ext/node/lib.rs | |
parent | 7ce1a68637840c5800d48abf275f4385c80f5658 (diff) |
feat(ext/node): implement `node:v8` (#17806)
Closes https://github.com/denoland/deno/issues/17115
Implements `cachedDataVersionTag` and `getHeapStatistics`.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index f4c23a16a..cb273ef9e 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -20,6 +20,7 @@ mod package_json; mod path; mod polyfill; mod resolution; +mod v8; mod winerror; pub use package_json::PackageJson; @@ -413,6 +414,8 @@ pub fn init_polyfill() -> Extension { crypto::op_node_hash_digest::decl(), crypto::op_node_hash_clone::decl(), winerror::op_node_sys_to_uv_error::decl(), + v8::op_v8_cached_data_version_tag::decl(), + v8::op_v8_get_heap_statistics::decl(), op_node_build_os::decl(), ]) .build() |