Skip to content

Tinygo + WASI Support #318

Open
Open
@devigned

Description

@devigned

I was attempting to use this library in a Go project that is targeting WASI preview 2 and using Tinygo to compile to that target. Due to some unimplemented portions of reflect and httputil packages in Tinygo (AssignableTo, ConvertibleTo, SliceOf, DumpRequestOut, DumpResponse), I'm unable to compile code that depends on this library.

I believe the httputil usage could be fixed with a build tag to omit the functionality. However, the reflect dependencies are in the encoder / decoder and would likely take more significant changes.

Is there a desire to be able to use this library from a Go application targeting WASI + Wasm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions