| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
Previously it would not compile if the build is configured with --disable-single-executable-application because we use directives to exclude the definition of SEA-related code completely. This patch changes them so that the SEA code are still compiled and internals can still check whether the executable is an SEA. The executable would not try to load the SEA blob at all if SEA is disabled. If future modifications to the C++ code attempt to load the SEA blob when SEA is disabled, UNREACHABLE() would be raised. If user attempt to generate the SEA blob with --experimental-sea-config with an executable that disables SEA, they would get an error.
There was a problem hiding this comment.
RSLGTM
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/51808 ✔ Done loading data for nodejs/node/pull/51808 ----------------------------------- PR info ------------------------------------ Title src: fix --disable-single-executable-application (#51808) Author Joyee Cheung (@joyeecheung) Branch joyeecheung:fix-disable-sea -> nodejs:main Labels c++, needs-ci, single-executable Commits 1 - src: fix --disable-single-executable-application Committers 1 - Joyee Cheung PR-URL: https://github.com/nodejs/node/pull/51808 Fixes: https://github.com/nodejs/node/issues/51730 Reviewed-By: Tobias Nießen ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/51808 Fixes: https://github.com/nodejs/node/issues/51730 Reviewed-By: Tobias Nießen -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 19 Feb 2024 18:28:53 GMT ✔ Approvals: 1 ✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/51808#pullrequestreview-1891732647 ✘ This PR needs to wait 16 more hours to land (or 0 hours if there is one more approval) ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-02-25T23:57:03Z: https://ci.nodejs.org/job/node-test-pull-request/57415/ - Querying data for job/node-test-pull-request/57415/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/8042448915 |
Sorry, something went wrong.
Commit Queue failed- Loading data for nodejs/node/pull/51808 ✔ Done loading data for nodejs/node/pull/51808 ----------------------------------- PR info ------------------------------------ Title src: fix --disable-single-executable-application (#51808) Author Joyee Cheung (@joyeecheung) Branch joyeecheung:fix-disable-sea -> nodejs:main Labels c++, needs-ci, single-executable Commits 1 - src: fix --disable-single-executable-application Committers 1 - Joyee Cheung PR-URL: https://github.com/nodejs/node/pull/51808 Fixes: https://github.com/nodejs/node/issues/51730 Reviewed-By: Tobias Nießen ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/51808 Fixes: https://github.com/nodejs/node/issues/51730 Reviewed-By: Tobias Nießen -------------------------------------------------------------------------------- ℹ This PR was created on Mon, 19 Feb 2024 18:28:53 GMT ✔ Approvals: 1 ✔ - Tobias Nießen (@tniessen) (TSC): https://github.com/nodejs/node/pull/51808#pullrequestreview-1891732647 ✘ This PR needs to wait 5 more hours to land (or 0 hours if there is one more approval) ✔ Last GitHub CI successful ℹ Last Full PR CI on 2024-02-26T01:41:38Z: https://ci.nodejs.org/job/node-test-pull-request/57415/ - Querying data for job/node-test-pull-request/57415/ ✔ Last Jenkins CI successful -------------------------------------------------------------------------------- ✔ Aborted `git node land` session in /home/runner/work/node/node/.ncuhttps://github.com/nodejs/node/actions/runs/8049457418 |
Sorry, something went wrong.
|
Somehow I added a commit from #51887 - removed. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Previously it would not compile if the build is configured with --disable-single-executable-application because we use directives to exclude the definition of SEA-related code completely. This patch changes them so that the SEA code are still compiled and internals can still check whether the executable is an SEA. The executable would not try to load the SEA blob at all if SEA is disabled. If future modifications to the C++ code attempt to load the SEA blob when SEA is disabled, UNREACHABLE() would be raised. If user attempt to generate the SEA blob with --experimental-sea-config with an executable that disables SEA, they would get an error. PR-URL: #51808 Fixes: #51730 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Previously it would not compile if the build is configured with --disable-single-executable-application because we use directives to exclude the definition of SEA-related code completely. This patch changes them so that the SEA code are still compiled and internals can still check whether the executable is an SEA. The executable would not try to load the SEA blob at all if SEA is disabled. If future modifications to the C++ code attempt to load the SEA blob when SEA is disabled, UNREACHABLE() would be raised. If user attempt to generate the SEA blob with --experimental-sea-config with an executable that disables SEA, they would get an error. PR-URL: #51808 Fixes: #51730 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Previously it would not compile if the build is configured with --disable-single-executable-application because we use directives to exclude the definition of SEA-related code completely. This patch changes them so that the SEA code are still compiled and internals can still check whether the executable is an SEA. The executable would not try to load the SEA blob at all if SEA is disabled. If future modifications to the C++ code attempt to load the SEA blob when SEA is disabled, UNREACHABLE() would be raised. If user attempt to generate the SEA blob with --experimental-sea-config with an executable that disables SEA, they would get an error. PR-URL: #51808 Fixes: #51730 Reviewed-By: Tobias Nießen <tniessen@tnie.de>
| Back | FazBrowse Home | New Git URL |
Previously it would not compile if the build is configured with
--disable-single-executable-application because we use directives
to exclude the definition of SEA-related code completely. This patch
changes them so that the SEA code are still compiled and internals
can still check whether the executable is an SEA. The executable would
not try to load the SEA blob at all if SEA is disabled. If future
modifications to the C++ code attempt to load the SEA blob when SEA
is disabled, UNREACHABLE() would be raised. If user attempt to
generate the SEA blob with --experimental-sea-config with an executable
that disables SEA, they would get an error.
Fixes: #51730