diff options
author | Ivancing <648262030@qq.com> | 2024-07-22 01:40:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-21 10:40:42 -0700 |
commit | 4e8f5875bc59ddfb84c8b0b26071a547b49823a9 (patch) | |
tree | ecee05a99e9be182a196dad035dfab79280bab92 /cli/mainrt.rs | |
parent | bb1c6c49bb30a6518ca4dbd3b3f7ec52f5861b76 (diff) |
fix(cli): add NAPI support in standalone mode (#24642)
Currently, importing Node-Addons modules in a standalone binary results
in a `missing symbol called` error
(https://github.com/denoland/deno/issues/24614). Because the NAPI
symbols are not exported in this mode. This PR should fix the issue.
Diffstat (limited to 'cli/mainrt.rs')
-rw-r--r-- | cli/mainrt.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/mainrt.rs b/cli/mainrt.rs index aafbf7932..ef163dd00 100644 --- a/cli/mainrt.rs +++ b/cli/mainrt.rs @@ -15,6 +15,7 @@ mod errors; mod file_fetcher; mod http_util; mod js; +mod napi; mod node; mod npm; mod resolver; |