Skip to content

TinyGo should use -gc=precise (or have nothing and just use the default provided by tinygo) #1480

Closed

Description

@dgryski

The precise collector is an improvement over the conservative one. I'm not sure why we hard-coded that gc option.

var TinyGoDefaultBuildCommand = fmt.Sprintf("tinygo build -target=wasi -gc=conservative -o %s ./", binWasmPath)

Activity

  1. added
    bug
    on May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions