diff options
| author | Colin Ihrig <cjihrig@gmail.com> | 2022-10-06 23:51:43 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-07 09:21:43 +0530 |
| commit | c27234888f3d93aee842e8b30912512867071cb9 (patch) | |
| tree | 92581450e566382045db97372ec2ac3dd7d83a05 /cli/build.rs | |
| parent | 5a1ea586b4d99a8e3028d51899b921acca484648 (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/build.rs')
| -rw-r--r-- | cli/build.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/build.rs b/cli/build.rs index c1bc3305e..77c95fb17 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -351,11 +351,11 @@ fn main() { symbols: Vec<String>, } let symbols_json = - std::fs::read_to_string("../tools/napi/symbol_exports.json").expect( - "Missing tools/napi/symbol_exports.json! This is a bug in napi_sym", + std::fs::read_to_string("./napi_sym/symbol_exports.json").expect( + "Missing ./napi_sym/symbol_exports.json! This is a bug in napi_sym", ); let symbols: Symbols = serde_json::from_str(&symbols_json) - .expect("tools/napi/symbol_exports.json is not valid JSON"); + .expect("./napi_sym/symbol_exports.json is not valid JSON"); // Don't export all symbols into the dynamic symbol table. -rdynamic exports *all* symbols introducing binary bloat. // We only need to export Node API symbols. |
