-
This was asked in Discord and I had forgotten myself. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When attempting to go back to stable we had these features being used which required nightly:
This is a nightly feature that is needed in our SQLite API bindings so we can create a macro that invokes SQLite. A macro is used since the calling behavior is different depending on if we're compiling as a loadable extension or statically linking into SQLite. As a loadable extension we must call
core_intrinsics is required to abort on panic in WASM.
lang_items so we can set the exception handling personality. WASM doesn't support exceptions so we have to set it for that target. Well it didn't used to, maybe it does now? https://github.com/WebAssembly/exception-handling |
Beta Was this translation helpful? Give feedback.
When attempting to go back to stable we had these features being used which required nightly:
This is a nightly feature that is needed in our SQLite API bindings so we can create a macro that invokes SQLite. A macro is used since the calling behavior is different depending on if we're compiling as a loadable extension or statically linking into SQLite.
As a loadable extension we must call
sqlite_api->method
, as a static thing we must callmethod
directly.core_intrinsics is required to abort on panic in WASM.
lang_items so we can set the exception handling personality. WASM doesn't support exceptions so we …