go-libwebp

Experimental translation from libwebp to Go source.
Log | Files | Refs | README | LICENSE

backend_none.go (420B)


      1 //go:build nodynamic && nowasm && !transpiled
      2 
      3 package webp
      4 
      5 // This build has excluded every backend, which would leave the package unable
      6 // to encode or decode anything at all. Fail the build with a readable message
      7 // rather than ship a binary that only discovers this at run time.
      8 type buildConfigurationError struct{}
      9 
     10 var _ buildConfigurationError = "go-libwebp: every backend disabled; drop nodynamic or nowasm"