diff --git a/cli/build.rs b/cli/build.rs index 48af791012..98d044a3e9 100644 --- a/cli/build.rs +++ b/cli/build.rs @@ -333,11 +333,7 @@ fn main() { } let symbols_path = std::path::Path::new( - format!( - "napi_sym/generated_symbol_exports_list_{}.def", - env::consts::OS - ) - .as_str(), + format!("generated_symbol_exports_list_{}.def", env::consts::OS).as_str(), ) .canonicalize() .expect( diff --git a/cli/napi_sym/generated_symbol_exports_list_linux.def b/cli/generated_symbol_exports_list_linux.def similarity index 100% rename from cli/napi_sym/generated_symbol_exports_list_linux.def rename to cli/generated_symbol_exports_list_linux.def diff --git a/cli/napi_sym/generated_symbol_exports_list_macos.def b/cli/generated_symbol_exports_list_macos.def similarity index 100% rename from cli/napi_sym/generated_symbol_exports_list_macos.def rename to cli/generated_symbol_exports_list_macos.def diff --git a/cli/napi_sym/generated_symbol_exports_list_windows.def b/cli/generated_symbol_exports_list_windows.def similarity index 100% rename from cli/napi_sym/generated_symbol_exports_list_windows.def rename to cli/generated_symbol_exports_list_windows.def diff --git a/tools/napi/generate_symbols_lists.js b/tools/napi/generate_symbols_lists.js index 0b43171702..c9a5bca3ec 100755 --- a/tools/napi/generate_symbols_lists.js +++ b/tools/napi/generate_symbols_lists.js @@ -17,7 +17,7 @@ const symbolExportLists = { for await (const [os, def] of Object.entries(symbolExportLists)) { const defUrl = new URL( - `../../cli/napi_sym/generated_symbol_exports_list_${os}.def`, + `../../cli/generated_symbol_exports_list_${os}.def`, import.meta.url, ); await Deno.writeTextFile(defUrl.pathname, def, { create: true });