On Sun, Jan 28, 2018 at 10:06 AM,  <alex.rou...@gmail.com> wrote:
>
> Was looking through the issues tracker and saw someone having issues with
> trying to use buildmode=c-shared and I noticed he linked a package main with
> only a main function as the thing he is trying to build.
>
> So for lulz I tried building it with buildmode=c-shared followed by
> buildmode=shared and apparently it didn't complain about anything and
> generated a binary.

I haven't tried, but that is what I would expect: a binary with no
errors.  The shared library could still do something meaningful in the
init function(s).

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.

Reply via email to