It's a no-go at this point, if you want this on MS Windows. CGo on MS Windows uses MinGW, while CPython uses MSVC. It's very hard to make this work due to name mangling.
I.e. you can do this for Python from MSYS2, for example, but not for the one your users will likely have.
masklinn|1 year ago
crabbone|1 year ago
I.e. you can do this for Python from MSYS2, for example, but not for the one your users will likely have.