You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
In #62, we fixed -run to use runtime.GOOS and runtime.GOARCH.
At the time of writing, cross compiling with gobin does not work. Nor are the cache paths it uses (either globally or module-locally) GOOS/GOARCH-aware.
This issue is a proposal to fully support cross-compiled binaries with gobin.
we will need to refactor the way we go install in order not to trip over the fact that you cannot go install with GOBIN set when GOOS and GOARCH differ from runtime.GOOS and runtime.GOARCH respectively
we will need to introduce GOOS and GOARCH into our cache paths
The text was updated successfully, but these errors were encountered:
We should add support for -tags and GOFLAGS. The more I think about it, the more I'm convinced that actually the right thing to do is also to install everything to a fully obfuscated path.
In #62, we fixed
-run
to useruntime.GOOS
andruntime.GOARCH
.At the time of writing, cross compiling with
gobin
does not work. Nor are the cache paths it uses (either globally or module-locally)GOOS/GOARCH
-aware.This issue is a proposal to fully support cross-compiled binaries with
gobin
.go install
in order not to trip over the fact that you cannotgo install
withGOBIN
set whenGOOS
andGOARCH
differ fromruntime.GOOS
andruntime.GOARCH
respectivelyGOOS
andGOARCH
into our cache pathsThe text was updated successfully, but these errors were encountered: