Cross compile to Linux... Package (no binary) / Directory (binary)

I set the environment like this:

 

But there is no binary generated. Where is the binary? When I set "Run kind" to directory it works... Maybe I don't understand what "Package" is used for... I'm confused.

0
正式评论

You need to either specify Output directory if you don't care about the binary's name or pass -o binaryname to Go tool arguments.

请先登录再写评论。