How to fix "unsafe" error for traefik plugin

I am developing a traefik plugin middleware.
When I execute the yaegi on my plugin file, it says: \vendor\google.golang.org\protobuf\reflect\protoreflect\value_unsafe_go121.go:11:2 import "unsafe" error: unable to find source related to: "unsafe"

I use gRPC and the code generated by protoc-gen-go imports protoreflect "protoreflect package - google.golang.org/protobuf/reflect/protoreflect - Go Packages", which imports "unsafe" package.

Does this mean that I cannot make use of protobufs and gRPC integration within the plugin entry file? If so, is there a work-around for this?

If I search for it on github I find this:

However, it seems that there was no comprehensive update since 2020 regarding this issue.

Hi Denis,

I have exactly the same problem as you. I would like to build a plugin that uses grpc and am now faced with the problem that yaegi cannot load “unsafe”. Have you found any solution?