Skip to content

Error while downloading sqlc with tag nowasm  #2724

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

Activity

  1. added
    bugSomething isn't working
    triageNew issues that hasn't been reviewed
    on Sep 11, 2023
  2. removed
    triageNew issues that hasn't been reviewed
    on Sep 11, 2023
  3. kyleconroy commented on Sep 11, 2023

    @kyleconroy
    Collaborator

    go install -tags=nowasm github.com/kyleconroy/sqlc/cmd/sqlc@main should now work. Let me know if it's still broken.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions