mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
chore(deps): update Go to 1.24 and switch to go-version-file (#8388)
Signed-off-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
@@ -280,7 +280,7 @@ type wasmModule struct {
|
||||
|
||||
func newWASMPlugin(ctx context.Context, ccache wazero.CompilationCache, code []byte) (*wasmModule, error) {
|
||||
mf := &memFS{}
|
||||
config := wazero.NewModuleConfig().WithStdout(os.Stdout).WithFS(mf)
|
||||
config := wazero.NewModuleConfig().WithStdout(os.Stdout).WithFS(mf).WithStartFunctions("_initialize")
|
||||
|
||||
// Create an empty namespace so that multiple modules will not conflict
|
||||
r := wazero.NewRuntimeWithConfig(ctx, wazero.NewRuntimeConfig().WithCompilationCache(ccache))
|
||||
|
||||
Reference in New Issue
Block a user