-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Description
My understanding is that right now there is a single namespace in the context with WIT. That can cause some confusion as you can see in this discussion here. For the case of wasi:http/outgoing-handler, the imports identifiers are resolved as follows:
(import "types" "new-fields" (func (;4;) (type 5)))
(import "types" "fields-entries" (func (;5;) (type 6)))
(import "types" "drop-outgoing-request" (func (;6;) (type 2)))
(import "types" "new-outgoing-request" (func (;7;) (type 7)))
(import "types" "outgoing-request-write" (func (;8;) (type 6)))
(import "types" "drop-incoming-response" (func (;9;) (type 2)))
(import "types" "incoming-response-status" (func (;10;) (type 8)))
(import "types" "incoming-response-headers" (func (;11;) (type 8)))
(import "types" "incoming-response-consume" (func (;12;) (type 6)))
(import "types" "future-incoming-response-get" (func (;13;) (type 6)))
(import "default-outgoing-HTTP" "handle" (func (;14;) (type 9)))Is there a plan to add a namespace based on the world name to avoid name collisions?
Metadata
Metadata
Assignees
Labels
No labels