Skip to content

wasip2 / wit-bindgen: restore older versions compatible with rustc 1.81 #141

@justin-robinson

Description

@justin-robinson

Summary

All published versions of wasip2 (and its wit-bindgen dependency) require rustc 1.82+, but we're on rustc 1.81.0. The oldest version on crates.io (1.0.0+wasi-0.2.4) is only a few months old, while the project is much older, suggesting older versions compatible with rustc 1.81 were removed.

Error

error: rustc 1.81.0 is not supported by the following packages:
  wasip2@1.0.0+wasi-0.2.4 requires rustc 1.82.0
  wit-bindgen@0.45.1 requires rustc 1.82.0
  ...
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.81.0

Pinning wasip2 to an older version doesn't work: there is no published version of wasip2 that supports rustc 1.81 (only three versions exist on crates.io, all requiring ≥1.82).

Request

Please restore older versions of wasip2 that are compatible with rustc 1.81.0, or publish a new version that supports rustc 1.81.0.

Context

wasip2 is a transitive dependency in our project (via getrandomrand_corerandulid → common crates). We cannot upgrade to rustc 1.82+ immediately, so we need versions compatible with rustc 1.81.

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