ooni / probe

OONI Probe network measurement tool for detecting internet censorship
https://ooni.org/install
BSD 3-Clause "New" or "Revised" License
749 stars 142 forks source link

engine: use GOTOOLCHAIN=local #2695

Closed bassosimone closed 2 months ago

bassosimone commented 3 months ago

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.