Update extensions/core/README.md

Co-authored-by: Preston Thorpe <preston@unlockedlabs.org>
This commit is contained in:
Pedro Muniz
2025-08-08 01:01:06 -03:00
committed by GitHub
parent edae65fb5f
commit c08d23b10d

View File

@@ -4,7 +4,7 @@ The `turso_ext` crate simplifies the creation and registration of libraries mean
like traditional `sqlite3` extensions, but are able to be written in much more ergonomic Rust.
**Attention**
If you wish to dynamic linking, currently you need to set your global_allocator to `MiMalloc` for non-wasm targets. Or you can clone the repo and change `macros/src/ext/mod.rs` to use your custom allocator:
If you wish to link with extensions dynamically, you will need to coordinate the allocator with each extension you would like to load at runtime by either using `MiMalloc` (the default) or setting your global allocator of choice in `macros/src/ext/mod.rs`.
E.g
```diff