Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go mod tidy: error when building a TinyGo Runnable #246

Open
k33g opened this issue Apr 15, 2022 · 1 comment
Open

go mod tidy: error when building a TinyGo Runnable #246

k33g opened this issue Apr 15, 2022 · 1 comment

Comments

@k33g
Copy link

k33g commented Apr 15, 2022

Subo v0.4.2

I did 2 kinds of installation on Linux:

brew tap suborbital/subo
brew install subo

and

git clone --depth=1 https://github.com/suborbital/subo.git
cd subo
make subo

When I try to build a Runnable with --lang=tinygo, I get this:

ℹ️  building single Runnable (run from project root to create bundle)
⏩ START: building runnable: hey (tinygo)
go mod tidy: error loading go 1.16 module graph: github.com/suborbital/[email protected] requires
        github.com/bytecodealliance/[email protected]: Get "https://proxy.golang.org/github.com/bytecodealliance/wasmtime-go/@v/v0.35.0.mod": net/http: TLS handshake timeout

If reproducibility with go 1.16 is not needed:
        go mod tidy -compat=1.17
For other options, see:
        https://golang.org/doc/modules/pruning
Error: failed to BuildWithToolchain: 🚫 failed to build hey: failed to RunInDir: failed to Run command: exit status 1

🖐️ it works with --native

🖐️ no issue with Rust

@danielledeleo
Copy link
Contributor

This should be fixed in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants