Skip to content

Commit 4b806e1

Browse files
farisbashaaduh95
authored andcommitted
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: #67555 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 82d6f5d commit 4b806e1

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

‎doc/contributing/maintaining/maintaining-single-executable-application-support.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,14 @@ To disable single executable application support, build Node.js with the
6767

6868
When built with single executable application support, the Node.js process uses
6969
[`postject-api.h`][] to check if the `NODE_SEA_BLOB` section exists in the
70-
binary. If it is found, it passes the buffer to
71-
[`single_executable_application.js`][], which executes the contents of the
72-
embedded script.
70+
binary. If it is found, it passes the buffer to [`embedding.js`][], which
71+
executes the contents of the embedded script.
7372

7473
[Next-10 discussions]: https://github.com/nodejs/next-10/blob/main/meetings/summit-nov-2021.md#single-executable-applications
7574
[Node.js CLI options]: https://nodejs.org/api/cli.html
7675
[XCOFF]: https://www.ibm.com/docs/en/aix/7.2?topic=formats-xcoff-object-file-format
76+
[`embedding.js`]: https://github.com/nodejs/node/blob/main/lib/internal/main/embedding.js
7777
[`postject-api.h`]: https://github.com/nodejs/node/blob/71951a0e86da9253d7c422fa2520ee9143e557fa/test/fixtures/postject-copy/node_modules/postject/dist/postject-api.h
78-
[`single_executable_application.js`]: https://github.com/nodejs/node/blob/main/lib/internal/main/single_executable_application.js
7978
[boxednode]: https://github.com/mongodb-js/boxednode
8079
[pkg]: https://github.com/vercel/pkg
8180
[postject]: https://github.com/nodejs/postject

0 commit comments

Comments
 (0)