v2ray/ext

plugin: requires CGO_ENABLED=1

Closed this issue · 3 comments

golang/go#19569

"CGO_ENABLED=0",

Does this mean existing plugin mode not working at all? As you are trying to re-compile, you can directly include your plugin here, and not necessary to use plugin mode. If that's the case, I'd like to remove the plugin mode completely.

I think that Golang plugin mode is not a prod feature, there are several conditions to run a plugin, such as:

  • it requires CGO_ENABLED=1
  • plugin.Open: plugin was built with a different version of package X

i would be happy if you remove plugin mode, it's useless, i have been suffered with that during the whole implementation.

Thanks for your suggest, i'll go through with it.