summaryrefslogtreecommitdiff
path: root/ext/napi/lib.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-07-23 01:01:31 +0100
committerGitHub <noreply@github.com>2024-07-23 00:01:31 +0000
commit3f8efe5289d88097ab49e7a8fcda763c2823376b (patch)
tree736b2f2315a46a81af1ecfec4e5efb4f2a7d3521 /ext/napi/lib.rs
parent715675565a928a7ac819b89fa40d8b74e7e1c8bc (diff)
Revert "chore: move all node-api impl to ext (#24662)" (#24680)
This reverts commit d00fbd70258a77a267fe20bdd2c4a028c799b693. Reverting because, it caused a failure during v1.45.3 publish: https://github.com/denoland/deno/actions/runs/10048730693/job/27773718095
Diffstat (limited to 'ext/napi/lib.rs')
-rw-r--r--ext/napi/lib.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/napi/lib.rs b/ext/napi/lib.rs
index 503921634..829839838 100644
--- a/ext/napi/lib.rs
+++ b/ext/napi/lib.rs
@@ -5,21 +5,6 @@
#![allow(clippy::undocumented_unsafe_blocks)]
#![deny(clippy::missing_safety_doc)]
-//! Symbols to be exported are now defined in this JSON file.
-//! The `#[napi_sym]` macro checks for missing entries and panics.
-//!
-//! `./tools/napi/generate_symbols_list.js` is used to generate the LINK `cli/exports.def` on Windows,
-//! which is also checked into git.
-//!
-//! To add a new napi function:
-//! 1. Place `#[napi_sym]` on top of your implementation.
-//! 2. Add the function's identifier to this JSON list.
-//! 3. Finally, run `tools/napi/generate_symbols_list.js` to update `cli/napi/generated_symbol_exports_list_*.def`.
-
-pub mod js_native_api;
-pub mod node_api;
-pub mod util;
-
use core::ptr::NonNull;
use deno_core::error::type_error;
use deno_core::error::AnyError;