From d97559f987e47cf8fb85484f4ed22567b7aa8c69 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 1 Oct 2024 09:40:35 -0700 Subject: [PATCH 1/2] Add two more WebAssembly features to the list of accepted ones This is intended to be a sibling PR to rust-lang/rust#131080 to update the reference documentation for wasm supporting two more features. --- src/attributes/codegen.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/attributes/codegen.md b/src/attributes/codegen.md index f30c296bc..9309e25bb 100644 --- a/src/attributes/codegen.md +++ b/src/attributes/codegen.md @@ -282,6 +282,8 @@ Feature | Implicitly Enables | Description `relaxed-simd` | `simd128` | [WebAssembly relaxed simd proposal][relaxed-simd] `sign-ext` | | [WebAssembly sign extension operators Proposal][sign-ext] `simd128` | | [WebAssembly simd proposal][simd128] +`multivalue` | | [WebAssembly multivalue proposal][multivalue] +`reference-types` | | [WebAssembly reference-types proposal][reference-types] [bulk-memory]: https://github.com/WebAssembly/bulk-memory-operations [extended-const]: https://github.com/WebAssembly/extended-const @@ -290,6 +292,8 @@ Feature | Implicitly Enables | Description [relaxed-simd]: https://github.com/WebAssembly/relaxed-simd [sign-ext]: https://github.com/WebAssembly/sign-extension-ops [simd128]: https://github.com/webassembly/simd +[reference-types]: https://github.com/webassembly/reference-types +[multivalue]: https://github.com/webassembly/multi-value ### Additional information From 798bf068ec991afc143069eecda9606e8e18c64c Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 1 Oct 2024 15:58:06 -0700 Subject: [PATCH 2/2] Also add info on the tail-call proposal --- src/attributes/codegen.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/attributes/codegen.md b/src/attributes/codegen.md index 9309e25bb..c8174a4a4 100644 --- a/src/attributes/codegen.md +++ b/src/attributes/codegen.md @@ -284,6 +284,7 @@ Feature | Implicitly Enables | Description `simd128` | | [WebAssembly simd proposal][simd128] `multivalue` | | [WebAssembly multivalue proposal][multivalue] `reference-types` | | [WebAssembly reference-types proposal][reference-types] +`tail-call` | | [WebAssembly tail-call proposal][tail-call] [bulk-memory]: https://github.com/WebAssembly/bulk-memory-operations [extended-const]: https://github.com/WebAssembly/extended-const @@ -293,6 +294,7 @@ Feature | Implicitly Enables | Description [sign-ext]: https://github.com/WebAssembly/sign-extension-ops [simd128]: https://github.com/webassembly/simd [reference-types]: https://github.com/webassembly/reference-types +[tail-call]: https://github.com/webassembly/tail-call [multivalue]: https://github.com/webassembly/multi-value ### Additional information