doc: fix SEA implementation link in maintaining guide

lib/internal/main/single_executable_application.js no longer exists;
single executable applications now run their main script through
lib/internal/main/embedding.js. Point the guide at that file.

Signed-off-by: farisbasha <farisbashatm@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/67555
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Faris Basha TM authored and GitHub committed 2026-11-19 18:01:01 +00:00
1 parent 42800b60d3
commit 108cbef0df
1 file changed
+3 -4
@@ -67,15 +67,14 @@ To disable single executable application support, build Node.js with the
When built with single executable application support, the Node.js process uses
[`postject-api.h`][] to check if the `NODE_SEA_BLOB` section exists in the
binary. If it is found, it passes the buffer to
[`single_executable_application.js`][], which executes the contents of the
embedded script.
binary. If it is found, it passes the buffer to [`embedding.js`][], which
executes the contents of the embedded script.
[Next-10 discussions]: https://github.com/nodejs/next-10/blob/main/meetings/summit-nov-2021.md#single-executable-applications
[Node.js CLI options]: https://nodejs.org/api/cli.html
[XCOFF]: https://www.ibm.com/docs/en/aix/7.2?topic=formats-xcoff-object-file-format
[`embedding.js`]: https://github.com/nodejs/node/blob/main/lib/internal/main/embedding.js
[`postject-api.h`]: https://github.com/nodejs/node/blob/71951a0e86da9253d7c422fa2520ee9143e557fa/test/fixtures/postject-copy/node_modules/postject/dist/postject-api.h
[`single_executable_application.js`]: https://github.com/nodejs/node/blob/main/lib/internal/main/single_executable_application.js
[boxednode]: https://github.com/mongodb-js/boxednode
[pkg]: https://github.com/vercel/pkg
[postject]: https://github.com/nodejs/postject