Il giorno mercoledì 21 aprile 2021 alle 09:07:23 UTC+2 Brian Candler ha 
scritto:

> On Tuesday, 20 April 2021 at 20:28:56 UTC+1 manlio....@gmail.com wrote:
>
>> And I notice only now that you can do `go build -o "" ./...`.
>>
>
> But does that work?  See 
> https://github.com/golang/go/blob/master/src/cmd/go/internal/work/build.go#L374-L377
>
>
No, sorry.  I was confused by the code that set `BuildO = ""` when it is 
equal to `os.DevNull`.
For some reasons I was assuming the default value of `BuildO` to be the 
current directory ".".

 

> > [...]
>


Manlio 

-- 
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/ce853bde-0a3b-4efc-95fc-a2680b609240n%40googlegroups.com.

Reply via email to