Store dynamic ext libs in oncecell to prevent UB

This commit is contained in:
PThorpe92 2025-03-06 14:33:29 -05:00
parent a2c40dd234
commit 25ed6a2985
No known key found for this signature in database
GPG key ID: 66DB3FBACBDD05CC
5 changed files with 53 additions and 35 deletions

View file

@ -1,3 +1,5 @@
#[cfg(not(target_family = "wasm"))]
mod dynamic;
use crate::{function::ExternalFunc, Connection};
use limbo_ext::{
ExtensionApi, InitAggFunction, ResultCode, ScalarFunction, VTabKind, VTabModuleImpl,