Skip to content

fsthttp/{transport,adapter}.go imports net/http, breaking native mac build? #31

@dkegel-fastly

Description

@dkegel-fastly

An app that imports fsthttp, and which builds in both go, tinygo native, and tinygo wasm
(with -tag nofastlyhostcalls) stopped building on tinygo native when we upgraded it to
v0.1.2; wrapping fsthttp/{transport,adapter}.go in another build tag seems to resolve the problem.

So adding a build tag to disable the net/http dependency seems like a good thing to add...
maybe named fastly.compute.nostdhttp for clarity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions