Skip to content
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

Tracking issue for release notes of #131080: Stabilize WebAssembly multivalue, reference-types, and tail-call target features #132855

Open
3 tasks
rustbot opened this issue Nov 10, 2024 · 1 comment
Labels
O-wasm Target: WASM (WebAssembly), http://webassembly.org/ relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone

Comments

@rustbot
Copy link
Collaborator

rustbot commented Nov 10, 2024

This issue tracks the release notes text for #131080.

Steps

  • Proposed text is drafted by PR author (or team) making the noteworthy change.
  • Issue is nominated for release team review of clarity for wider audience.
  • Release team includes text in release notes/blog posts.

Release notes text

The responsible team for the underlying change should edit this section to replace the automatically generated link with a succinct description of what changed, drawing upon text proposed by the author (either in discussion or through direct editing).

# Category (e.g. Language, Compiler, Libraries, Compatibility notes, ...)
- [Stabilize WebAssembly `multivalue`, `reference-types`, and `tail-call` target features](https://github.com/rust-lang/rust/pull/131080)

Tip

Use the previous releases categories to help choose which one(s) to use.
The category will be de-duplicated with all the other ones by the release team.

More than one section can be included if needed.

Release blog section

If the change is notable enough for inclusion in the blog post, the responsible team should add content to this section.
Otherwise leave it empty.

cc @alexcrichton, @petrochenkov -- origin issue/PR authors and assignees for starting to draft text

@rustbot rustbot added O-wasm Target: WASM (WebAssembly), http://webassembly.org/ relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 10, 2024
@alexcrichton
Copy link
Member

I think the suggested text just from the PR title is probably reasonable here. For a bit of a longer-form callout if that's desired it could be something like:

The WebAssembly target features multivalue, reference-types, and tail-call are now stable. Both multivalue and reference-types are explained in a previous blog post and stable features can be used to, for example, provide a first-class compile_error! indicating that the features should not be enabled (e.g. when targetting an older wasm runtime).

The tail-call feature of WebAssembly corresponds to the tail-call proposal to WebAssembly which advanced to the stabilization stage of "phase 4" earlier this year. This feature provides instructions in WebAssembly that guarantee a tail call is performed at the callsite. Rust does not have guaranteed tail calls at the language yet but LLVM may optimize function calls to tail calls where possible. When the tail-call feature is enabled for WebAssembly the return_call instruction may be used instead of a normal call instruction if LLVM deduces that it's an applicable optimization.

@rustbot rustbot added this to the 1.84.0 milestone Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-wasm Target: WASM (WebAssembly), http://webassembly.org/ relnotes Marks issues that should be documented in the release notes of the next release. relnotes-tracking-issue Marks issues tracking what text to put in release notes. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants