This is an automated email from the ASF dual-hosted git repository.

zhangzicheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new d52caa5eb6 [type:fix] use wasm32-wasip1 target (#5936)
d52caa5eb6 is described below

commit d52caa5eb665aa26f7f0246cc4ad38dfbbaa4a5a
Author: eye-gu <[email protected]>
AuthorDate: Sat Feb 22 19:13:46 2025 +0800

    [type:fix] use wasm32-wasip1 target (#5936)
    
    Co-authored-by: aias00 <[email protected]>
---
 shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md             | 6 +++---
 .../src/test/rust-discovery-handler/README.md                       | 6 +++---
 .../src/test/rust-meta-data-handler/README.md                       | 4 ++--
 .../src/test/rust-plugin-data-handler/README.md                     | 4 ++--
 .../src/test/rust-shenyu-wasm-plugin/README.md                      | 4 ++--
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md 
b/shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md
index 1da92def00..645154bb2d 100644
--- a/shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md
+++ b/shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md
@@ -7,12 +7,12 @@
 3. generate the wasm file
 
 ```shell
-cd {shenyu}/shenyu-plugin/shenyu-plugin-wasm-api/src/test/rust-wasm-filter
-cargo build --target wasm32-wasi --release
+cd {shenyu}/shenyu-plugin/shenyu-plugin-wasm-api/src/test/rust-wasm-plugin
+cargo build --target wasm32-wasip1 --release
 ```
 
 then you will see the wasm file
-in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-api/src/test/rust-wasm-filter/target/wasm32-wasi/release/rust_filter.wasm`
+in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-api/src/test/rust-wasm-plugin/target/wasm32-wasip1/release/rust_wasm_plugin.wasm`
 
 4. rename the wasm file
 
diff --git 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler/README.md
 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler/README.md
index 3512e1f7b7..80587210e9 100644
--- 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler/README.md
+++ 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler/README.md
@@ -7,12 +7,12 @@
 3. generate the wasm file
 
 ```shell
-cd 
{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-wasm-discovery-handler
-cargo build --target wasm32-wasi --release
+cd 
{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler
+cargo build --target wasm32-wasip1 --release
 ```
 
 then you will see the wasm file
-in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-wasm-discovery-handler/target/wasm32-wasi/release/rust_wasm_discovery_handler_plugin.wasm`
+in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-discovery-handler/target/wasm32-wasip1/release/rust_discovery_handler.wasm`
 
 4. rename the wasm file
 
diff --git 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/README.md
 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/README.md
index 698994b12f..5778d21f93 100644
--- 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/README.md
+++ 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/README.md
@@ -8,11 +8,11 @@
 
 ```shell
 cd 
{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler
-cargo build --target wasm32-wasi --release
+cargo build --target wasm32-wasip1 --release
 ```
 
 then you will see the wasm file
-in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/target/wasm32-wasi/release/rust_wasm_data_handler_plugin.wasm`
+in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-meta-data-handler/target/wasm32-wasip1/release/rust_meta_data_handler.wasm`
 
 4. rename the wasm file
 
diff --git 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/README.md
 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/README.md
index f33e205919..0c7a75f9a4 100644
--- 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/README.md
+++ 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/README.md
@@ -8,11 +8,11 @@
 
 ```shell
 cd 
{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler
-cargo build --target wasm32-wasi --release
+cargo build --target wasm32-wasip1 --release
 ```
 
 then you will see the wasm file
-in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/target/wasm32-wasi/release/rust_wasm_data_handler_plugin.wasm`
+in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-plugin-data-handler/target/wasm32-wasip1/release/rust_plugin_data_handler.wasm`
 
 4. rename the wasm file
 
diff --git 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/README.md
 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/README.md
index e4c1abde21..0b29979a1e 100644
--- 
a/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/README.md
+++ 
b/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/README.md
@@ -8,11 +8,11 @@
 
 ```shell
 cd 
{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin
-cargo build --target wasm32-wasi --release
+cargo build --target wasm32-wasip1 --release
 ```
 
 then you will see the wasm file
-in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/target/wasm32-wasi/release/rust_shenyu_wasm_plugin.wasm`
+in 
`{shenyu}/shenyu-plugin/shenyu-plugin-wasm-base/src/test/rust-shenyu-wasm-plugin/target/wasm32-wasip1/release/rust_shenyu_wasm_plugin.wasm`
 
 4. rename the wasm file
 

Reply via email to