diff options
author | 2023-09-21 08:43:21 +0200 | |
---|---|---|
committer | 2023-09-20 23:43:21 -0700 | |
commit | 2664dfad9bb0b2d83bf64ebda5b7e512b89f5e91 (patch) | |
tree | 4f51afeccdf2963315e82a6998cc2bce505642c6 /src/react-refresh.js | |
parent | e0c5debc5749a38ed4699f8c02333df22046ee9b (diff) | |
download | bun-2664dfad9bb0b2d83bf64ebda5b7e512b89f5e91.tar.gz bun-2664dfad9bb0b2d83bf64ebda5b7e512b89f5e91.tar.zst bun-2664dfad9bb0b2d83bf64ebda5b7e512b89f5e91.zip |
fix: add check to sqlite extension loading logic (#5773)
The sqlite3 logic to dynamically load extensions can be disabled to save space,
which macos does by default.
sqlite3 provides a api to check for these compile time settings at runtime,
we can use that to throw a js error rather then crashing.
It is worth noting though that the api to check for these settings at runtime
itself can be disabled through SQLITE_OMIT_COMPILEOPTION_DIAGS but this seams
to be a edge case.
Diffstat (limited to 'src/react-refresh.js')
0 files changed, 0 insertions, 0 deletions