klippa-app / go-pdfium

Easy to use PDF library using Go and PDFium
MIT License
195 stars 16 forks source link

Fix the WebAssembly build #170

Closed jerbob92 closed 5 months ago

jerbob92 commented 5 months ago

Accidentally a import "C" was added to the WebAssembly implementation. When you then have no CGO available in your environment, the build fails. I have also added some extra steps to catch this in the CI process next time.

Fixes #169

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.14%. Comparing base (17f2263) to head (e5db754). Report is 2 commits behind head on main.

:exclamation: Current head e5db754 differs from pull request most recent head d8ff969

Please upload reports for the commit d8ff969 to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #170 +/- ## ======================================= Coverage 78.14% 78.14% ======================================= Files 110 110 Lines 18942 18942 ======================================= Hits 14803 14803 Misses 2358 2358 Partials 1781 1781 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.