cgo support? #1274
Unanswered
Julio-Guerra
asked this question in
Q&A
cgo support?
#1274
Replies: 1 comment 1 reply
-
As stated in the README, using CGO at interpreter level is not supported. It is always possible to wrap a pre-compiled package and export it to the interpreter by |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposal
I guess CGO isn't supported as it is based on compile-time code generation and low-level Go ABI things, but as I couldn't clearly find the answer, I thought it would be worth asking.
Background
Given Traefik plugins are now based on Yaegi, advanced middleware plugins such as web-app firewalls may be Go wrappers of C libraries.
Some of our users would like to have us in their Traefik proxy but, afaik, being limited to pure Go makes it impossible for now.
Beta Was this translation helpful? Give feedback.
All reactions