Skip to content

Commit

Permalink
Use compiled-module name as module name.
Browse files Browse the repository at this point in the history
  • Loading branch information
lthibault committed Sep 7, 2024
1 parent d3413c2 commit eabd9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ww.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (c Cluster) Serve(ctx context.Context) error {

mod, err := r.InstantiateModule(ctx, compiled, wazero.NewModuleConfig().
WithStartFunctions(). // don't call _start automatically
WithName(fs.Root.String()).
WithName(compiled.Name()).
// WithArgs().
// WithEnv().
WithSysNanosleep().
Expand Down

0 comments on commit eabd9ab

Please sign in to comment.