mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 15:52:24 -05:00
update go-ffmpreg to v0.2.5 (pulls in latest tetratelabs/wazero) (#3203)
This commit is contained in:
parent
6fe96a5611
commit
09f24e0446
75 changed files with 1772 additions and 1913 deletions
8
vendor/github.com/tetratelabs/wazero/runtime.go
generated
vendored
8
vendor/github.com/tetratelabs/wazero/runtime.go
generated
vendored
|
|
@ -197,7 +197,13 @@ func (r *runtime) Module(moduleName string) api.Module {
|
|||
if len(moduleName) == 0 {
|
||||
return nil
|
||||
}
|
||||
return r.store.Module(moduleName)
|
||||
m := r.store.Module(moduleName)
|
||||
if m == nil {
|
||||
return nil
|
||||
} else if m.Source.IsHostModule {
|
||||
return hostModuleInstance{m}
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
// CompileModule implements Runtime.CompileModule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue