Forbids empty name module imports (#1244)
Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io> Co-authored-by: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com>
This commit is contained in:
@@ -374,7 +374,7 @@ func Test888(t *testing.T) {
|
||||
},
|
||||
})
|
||||
|
||||
_, err := r.Instantiate(ctx, imported)
|
||||
_, err := r.InstantiateWithConfig(ctx, imported, wazero.NewModuleConfig().WithName("host"))
|
||||
require.NoError(t, err)
|
||||
|
||||
_, err = r.InstantiateWithConfig(ctx, getWasmBinary(t, 888),
|
||||
|
||||
Reference in New Issue
Block a user