On Sat, Feb 17, 2018 at 8:54 AM, <buc...@gmail.com> wrote: > Newbie here. Learning to program in Go... > > Just upgraded from 1.8.1 --> the wonderful 1.10; easy to do and smooth > (thank you Go Team!!!). Compiling is faster still! Question for the > congregants: > > I write my Go code on a Windows 10 box using VS Code. Env variable GOOS set > to 'freebsd' (my target OS). For the upgrade, I deleted the c:\Go directory > and installed from the 64bit .msi file. Didn't change anything else. > Perfect, no troubles. > > First time I ran VS Code it notified me of the new Go version, said it > needed to recompile a bunch of github/fetches and they all FAILED with a > warning about not being able to cross-compile... > > Is this because I left the GOOS variable set to something other than my > development OS? I tried resetting the GOOS to 'windows' and restarting VS > Code, but it looks like I've made my bed, so I went back to GOOS = > 'freebsd'. My project compiles fine. > > Is this "failure to cross-compile" the /github/ stuff going to be a problem? > My project only uses the standard libraries.
What precisely did you try to do, and what precisely happened? Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.