diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-03-23 16:00:46 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 16:00:46 -0600 |
commit | ad77ba0f7b40760e04b79d9789da16d7c49010b8 (patch) | |
tree | 557e87fb172dc034c1b0c0a36a0d824036a1f986 /cli/js.rs | |
parent | e8348231df2d2716e9e7ffb85340b773ff58a2f2 (diff) |
fix(core): panic at build time if extension code contains anything other than 7-bit ASCII (#18372)
This will improve diagnostics and catch any non-ASCII extension code
early.
This will use `debug_assert!` rather than `assert!` to avoid runtime
costs, and ensures (in debug_assert mode only) that all extension source
files are ASCII as we load them.
Diffstat (limited to 'cli/js.rs')
0 files changed, 0 insertions, 0 deletions