title: Why does go install creates an executable in bin\windows_386?
body: <p>Whenever I run <code>go install relative\path\to\package</code> it creates the binaries but places them in a folder called <code>windows_386</code> in the <code>$GOPATH\bin</code> folder. I purposely set <code>GOARCH</code> to the value <code>386</code>. I'm running go 1.17.1 on Windows 10 Pro edition if this information is relevant.</p>
  <p>My theory is that I set <code>GOARCH</code> but in a &quot;local&quot; way, the &quot;global&quot; <code>GOARCH</code> is still <code>amd64</code> and whenever I install packages with <code>386</code> architecture, it puts them in this subfolder. I haven't been able to find any literature to confirm my suspicion though and would like some insight.</p>