mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 23:52:26 -06:00
pull in ncruces/go-sqlite3 v0.20.3 with tetratelabs/wazero v1.8.2 (#3574)
This commit is contained in:
parent
6a8af42647
commit
61f8f1e0e3
41 changed files with 374 additions and 226 deletions
2
vendor/github.com/tetratelabs/wazero/experimental/memory.go
generated
vendored
2
vendor/github.com/tetratelabs/wazero/experimental/memory.go
generated
vendored
|
|
@ -43,7 +43,7 @@ type LinearMemory interface {
|
|||
}
|
||||
|
||||
// WithMemoryAllocator registers the given MemoryAllocator into the given
|
||||
// context.Context.
|
||||
// context.Context. The context must be passed when initializing a module.
|
||||
func WithMemoryAllocator(ctx context.Context, allocator MemoryAllocator) context.Context {
|
||||
if allocator != nil {
|
||||
return context.WithValue(ctx, expctxkeys.MemoryAllocatorKey{}, allocator)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue