Skip to content

AppRuntime: include <cstdlib> for std::abort - #250

Open
matthargett wants to merge 1 commit into
BabylonJS:mainfrom
rebeckerspecialties:appruntime-include-cstdlib
Open

matthargett wants to merge 1 commit into
BabylonJS:mainfrom
rebeckerspecialties:appruntime-include-cstdlib

Conversation

@matthargett

@matthargett matthargett commented Sep 16, 2026

Copy link
Copy Markdown

AppRuntime.cpp calls std::abort() (the unhandled-exception fallback) but only reaches <cstdlib> transitively. In JsRuntimeHost's own builds that happens to work; when the sources are compiled inside an embedding project with a different include set (our BabylonNative fork hit this), the transitive include is gone and the file fails to compile. Include the header the file uses.

Fork twin: rebeckerspecialties#34.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

matthargett added a commit to rebeckerspecialties/JsRuntimeHost that referenced this pull request Sep 16, 2026
…ready provides the target; include <cstdlib> for std::abort (BabylonJS#250)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants