Thank you for your contributions to this language.

We will not see static reflection in golang2, right?
Anything else blocks the possibility of unloading implementation ?


Peter
On Monday, December 27, 2021 at 2:17:42 AM UTC+2 Ian Lance Taylor wrote:

> On Sun, Dec 26, 2021 at 3:45 PM Peter W <peter....@gmail.com> wrote: 
> > 
> > I am trying to load, call and unload multiple go libs which are built 
> with -buildmode c-shared in a c problem, it’s doable on windows, Linux and 
> macOS ? Also I see -buildmode shared removal was rejected, what about 
> -buildmode archive? 
>
> You can't safely unload a Go DLL built with -buildmode=c-shared. That 
> is not supported at all. Sorry. 
>
> Loading multiple Go DLLs built with -buildmode=c-shared ought to work 
> on ELF based systems like Linux. I don't know whether it will work on 
> Windows or macOS. 
>
> Nothing is happening to -buildmode=archive. Or, for that matter, 
> -buildmode=c-archive. It's fine to link against as many 
> -buildmode=c-archive archives as you like. 
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0f30e624-ea1a-4482-ab8b-d2566b9023a5n%40googlegroups.com.

Reply via email to