mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Hide add_builtin_vfs_extensions from non fs feature
This commit is contained in:
parent
c1f5537d39
commit
64d8575ee8
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ impl Connection {
|
|||
if unsafe { !limbo_completion::register_extension_static(&mut ext_api).is_ok() } {
|
||||
return Err("Failed to register completion extension".to_string());
|
||||
}
|
||||
if cfg!(feature = "fs") {
|
||||
#[cfg(feature = "fs")]
|
||||
{
|
||||
let vfslist = add_builtin_vfs_extensions(Some(ext_api)).map_err(|e| e.to_string())?;
|
||||
for (name, vfs) in vfslist {
|
||||
add_vfs_module(name, vfs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue