summaryrefslogtreecommitdiff
path: root/cli/napi_sym/lib.rs
diff options
context:
space:
mode:
authorColin Ihrig <cjihrig@gmail.com>2022-10-06 23:51:43 -0400
committerGitHub <noreply@github.com>2022-10-07 09:21:43 +0530
commitc27234888f3d93aee842e8b30912512867071cb9 (patch)
tree92581450e566382045db97372ec2ac3dd7d83a05 /cli/napi_sym/lib.rs
parent5a1ea586b4d99a8e3028d51899b921acca484648 (diff)
fix(napi): move napi symbols file (#16179)
The current location was causing failures during v1.26.1 publication. <!-- Before submitting a PR, please read http://deno.land/manual/contributing 1. Give the PR a descriptive title. Examples of good title: - fix(std/http): Fix race condition in server - docs(console): Update docstrings - feat(doc): Handle nested reexports Examples of bad title: - fix #7123 - update docs - fix bugs 2. Ensure there is a related issue and it is referenced in the PR text. 3. Ensure there are tests that cover the changes. 4. Ensure `cargo test` passes. 5. Ensure `./tools/format.js` passes without changing files. 6. Ensure `./tools/lint.js` passes. -->
Diffstat (limited to 'cli/napi_sym/lib.rs')
-rw-r--r--cli/napi_sym/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/napi_sym/lib.rs b/cli/napi_sym/lib.rs
index 769dddba9..2805c9957 100644
--- a/cli/napi_sym/lib.rs
+++ b/cli/napi_sym/lib.rs
@@ -4,8 +4,7 @@ use proc_macro::TokenStream;
use quote::quote;
use serde::Deserialize;
-static NAPI_EXPORTS: &str =
- include_str!("../../tools/napi/symbol_exports.json");
+static NAPI_EXPORTS: &str = include_str!("./symbol_exports.json");
#[derive(Deserialize)]
struct SymbolExports {