Skip to content

Conversation

@mszabo-wikia
Copy link
Contributor

If a new extension systemlib isn't wired up with the build system, its unit emitters and decls won't be embedded in the HHVM binary, causing a cryptic crash when trying to run Hack code ("Invalid varint value: too few bytes."). One then has to fire up a debugger to determine what systemlib is missing.

Instead, raise a more informative error if a specific systemlib was not found in the binary.

Split from #9564.

If a new extension systemlib isn't wired up with the build system, its
unit emitters and decls won't be embedded in the HHVM binary, causing
a cryptic crash when trying to run Hack code ("Invalid varint value: too
few bytes."). One then has to fire up a debugger to determine what systemlib is
missing.

Instead, raise a more informative error if a specific systemlib was not
found in the binary.
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2412906.

@mszabo-wikia mszabo-wikia deleted the systemlib-compile-feedback branch January 7, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants