Skip to content

Missing 'crypto' package (parity with Go 1.26) #5374

@1l0

Description

@1l0

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions