Skip to content

Error while downloading sqlc with tag nowasm  #2724

Closed
@reva-gupta

Description

@reva-gupta

Version

1.21.0

What happened?

I ran go install -tags=nowasm github.com/kyleconroy/sqlc/cmd/sqlc@latest to grab the latest version of sqlc and ran into an error.
During the last version bump the struct in nowasm was not updated with the new field.

Relevant log output

# github.com/sqlc-dev/sqlc/internal/cmd
../../go/pkg/mod/github.com/sqlc-dev/sqlc@v1.21.0/internal/cmd/generate.go:395:5: unknown field Env in struct literal of type wasm.Runner

Database schema

No response

SQL queries

No response

Configuration

No response

Playground URL

No response

What operating system are you using?

macOS

What database engines are you using?

PostgreSQL

What type of code are you generating?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions