Skip to content

Commit

Permalink
Adds _initiialize for c-shared wasm with go
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Salleyron <[email protected]>
  • Loading branch information
juliens committed Aug 22, 2024
1 parent dbc4b62 commit 2a2a4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ type moduleConfig struct {
// NewModuleConfig returns a ModuleConfig that can be used for configuring module instantiation.
func NewModuleConfig() ModuleConfig {
return &moduleConfig{
startFunctions: []string{"_start"},
startFunctions: []string{"_start", "_initialize"},
environKeys: map[string]int{},
}
}
Expand Down

0 comments on commit 2a2a4ce

Please sign in to comment.