plugin: init functions aren't run if plugin directory contains a dot character #23695
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Init functions are not run when Open()-ing a plugin that has been compiled from a directory containing a dot in its name.
How to reproduce:
go run ./plugin.v1/main.go
. You getThe int is: 42
, as expectedgo build -buildmode=plugin -o plugin.so ./plugin.v1/
go run host/main.go
. You getThe int is: 0
, because the init function hasn't run.plugin.v1
topluginv1
, and everything works.The text was updated successfully, but these errors were encountered: