diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 80d1cdeb..efeab6ff 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -100,6 +100,7 @@ jobs: go: [ "1.20", "1.21", "1.22" ] env: PDFIUM_EXPERIMENTAL_GO_VERSION: "1.22" + CGO_ENABLED: "0" runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/internal/implementation_webassembly/fpdf_annot.go b/internal/implementation_webassembly/fpdf_annot.go index a45b9f21..f4892044 100644 --- a/internal/implementation_webassembly/fpdf_annot.go +++ b/internal/implementation_webassembly/fpdf_annot.go @@ -1,6 +1,5 @@ package implementation_webassembly -import "C" import ( "errors" "unsafe"