diff --git a/ww.go b/ww.go index 236d196..aea32ab 100644 --- a/ww.go +++ b/ww.go @@ -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().