bytecodealliance / bytecodealliance/wasi-rs

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

Open
#141 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
370
Forks
65
Avg merge
7m
Merged PRs (30d)
3

Description

## 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 @ --precise `
where `` 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 `getrandom` → `rand_core` → `rand` → `ulid` → common crates). We cannot upgrade to rustc 1.82+ immediately, so we need versions compatible with rustc 1.81.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the published wasip2 and wit-bindgen versions on crates.io and their rustc requirements, then trace the dependency path through getrandom, rand_core, rand, and ulid. Done means identifying or publishing versions that work with rustc 1.81.0 and confirming the dependency resolution succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.