Skip to content

Commit

Permalink
Merge branch 'master' into master-4988
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 authored Feb 24, 2025
2 parents c3e4b8d + d52caa5 commit 5c74e9b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions shenyu-plugin/shenyu-plugin-wasm-api/src/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5c74e9b

Please sign in to comment.