ITADN

Missing 'crypto' package (parity with Go 1.26)

#5374Open1l0 创建于 2026-05-07
1
1l0commented
Go 1.26 introduced a new `crypto` package containing several core interfaces. However, this package is currently missing in TinyGo ^0.41.0, leading to compilation errors when using libraries that depend on the new standard library structure. For local development, the package can be manually copied from the GOROOT to the TINYGOROOT: ```sh cp $(go env GOROOT)/src/crypto/crypto.go $(tinygo env TINYGOROOT)/src/crypto/ ``` I suggest including this file in the TinyGo to maintain compatibility with Go 1.26.
3 条评论