Skip to content

Revise MSRV policy for this repository #2199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025

Conversation

alexcrichton
Copy link
Member

In writing the current policy for this repository's minimum supported version of Rust (MSRV) is "stable minus two" which matches Wasmtime. This does not reflect the current reality, however, where the current MSRV is 1.76 where the current Rust is 1.87. This additionally does not reflect what I think is the best decision for this repository. While "stable minus two" matches Wasmtime this repository is expected to be possibly used in more contexts than Wasmtime, for example any wasm-processing tools which can be lower-level than anything needing a wasm runtime.

Given all this the change here is to update the comments on MSRV policy for this repository to "stable minus 10, not proactively updated". That is a much larger window of Rust but the code in this repository is much less likely than Wasmtime, for example, to benefit from newer features of Rust. The hope is that this won't be too onerous to maintain while still allowing to eventually use newer features as necessary.

Copy link
Member

@sunfishcode sunfishcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me.

In writing the current policy for this repository's minimum supported
version of Rust (MSRV) is "stable minus two" which matches Wasmtime.
This does not reflect the current reality, however, where the current
MSRV is 1.76 where the current Rust is 1.87. This additionally does not
reflect what I think is the best decision for this repository. While
"stable minus two" matches Wasmtime this repository is expected to be
possibly used in more contexts than Wasmtime, for example any
wasm-processing tools which can be lower-level than anything needing a
wasm runtime.

Given all this the change here is to update the comments on MSRV policy
for this repository to "stable minus 10, not proactively updated". That
is a much larger window of Rust but the code in this repository is much
less likely than Wasmtime, for example, to benefit from newer features
of Rust. The hope is that this won't be too onerous to maintain while
still allowing to eventually use newer features as necessary.
@alexcrichton alexcrichton enabled auto-merge May 24, 2025 03:55
@alexcrichton alexcrichton added this pull request to the merge queue May 24, 2025
Merged via the queue into bytecodealliance:main with commit 542c8e6 May 24, 2025
32 checks passed
@alexcrichton alexcrichton deleted the update-msrv-policy branch May 24, 2025 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants