Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide less cryptic error for missing systemlib sections (#9566)
Summary: 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. Pull Request resolved: #9566 Reviewed By: ricklavoie Differential Revision: D67874442 fbshipit-source-id: 876fe61ff08fd05a311659a44c2b0a19ea878f94
- Loading branch information