On Mon, Dec 27, 2021 at 1:17 AM Ian Lance Taylor <i...@golang.org> wrote:

> 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.


 I have a related question on that topic:

How about support for a Go program that can load C modules (with Cgo and
dlopen), and this module again is a Go c-shared library?

I would have assumed that does not work, due to conflicting runtimes, and
it indeed crashes on my Mac. But after reading your statement here, I
wonder if it maybe is supported on ELF based systems?

Thanks,

Sven

-- 
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/CAFwXxZSHvmjgbvmQZCO%2BKKQYHPkXB-e%3DQ5OeZcr4R6RFKSOngw%40mail.gmail.com.

Reply via email to