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

engine: use GOTOOLCHAIN=local #2695

Closed
bassosimone opened this issue Mar 27, 2024 · 0 comments · Fixed by ooni/probe-cli#1548
Closed

engine: use GOTOOLCHAIN=local #2695

bassosimone opened this issue Mar 27, 2024 · 0 comments · Fixed by ooni/probe-cli#1548

Comments

@bassosimone
Copy link
Contributor

bassosimone commented Mar 27, 2024

When using go >= 1.21.0, we would need to pin to the exact version of the toolchain that we're using for building.

See https://go.dev/doc/toolchain for documentation:

When GOTOOLCHAIN is set to local, the go command always runs the bundled Go toolchain.

This is why export GOTOOLCHAIN=local should be such to enforce the previous behavior.

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

Successfully merging a pull request may close this issue.

2 participants