Closed kvdbergh closed 5 months ago
That's odd, FPDFAnnot_AddInkStroke
for example has been included for a long time now. Something else must be going on, will look into it!
This was a really dumb issue, sometimes I copy code from the CGO implementation to the WebAssembly implementation and then Goland also copies the import "C"
, but it doesn't automatically remove it when you don't do any CGO calls. When you then have no CGO available in your environment, the build fails. I have added some extra steps to catch this in the CI process next time.
@kvdbergh fixed in v1.12.1!
Thanks @jerbob92 for fixing this issue!
Web assembly implementation no longer builds after upgrade to go-pdfium v1.12.0
Results in the following error:
I've used the example from the readme documentation:
main.go
go.mod