go mod tidy has to ignore build tags.

Because if it did not ignore build tags, it would delete dependencies 
needed by other platforms.

On Friday, 19 February 2021 at 02:23:45 UTC Ian Lance Taylor wrote:

> On Thu, Feb 18, 2021 at 3:29 PM tapi...@gmail.com <tapi...@gmail.com> 
> wrote:
> >
> > Thanks for the link.
> > So "go mod tidy" ignores build tags, and this is intended?
>
> That is my understanding, yes.
>
> Ian
>
>
> > On Thursday, February 18, 2021 at 9:28:53 AM UTC-5 Ian Lance Taylor 
> wrote:
> >>
> >> On Thu, Feb 18, 2021 at 1:06 AM tapi...@gmail.com <tapi...@gmail.com> 
> wrote:
> >> >
> >> > BTW, "go1.15 build" succeeds.
> >> >
> >> > On Thursday, February 18, 2021 at 4:03:50 AM UTC-5 tapi...@gmail.com 
> wrote:
> >> >>
> >> >> Does this mean the "+build go1.N" directive is only intended to 
> cooperate with Go toolchain 1.N+?
> >>
> >>
> >> See the discussion at https://golang.org/issue/43980.
> >>
> >> 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/9a4eb260-d5de-4a7d-89e3-e26a9ff41455n%40googlegroups.com
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/365784a1-89fd-41c9-a900-8964194100b7n%40googlegroups.com.

Reply via email to