Skip to content

Commit

Permalink
feat: add example of http-dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
jizhuozhi committed Oct 10, 2024
1 parent b2a1f37 commit 3084ece
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "http-promise-example"
name = "http-dispatch-example"
version = "0.1.0"
edition = "2021"
publish = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BUILD_OPTS="--release"
.DEFAULT:
build:
rustup target add wasm32-wasi
cargo build --target wasm32-wasi ${BUILD_OPTS}
cargo build --target wasm32-wasi
find target -name "*.wasm" -d 3 -exec cp "{}" plugin.wasm \;

clean:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: http-promise-example
title: http-dispatch-example
keywords:
description:
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: http-promise-example
title: http-dispatch-example
keywords:
description:
---
Expand Down
2 changes: 1 addition & 1 deletion plugins/wasm-rust/scripts/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ srcdir="$workdir"/src
mkdir -p "$workdir"
mkdir -p "$srcdir"

cat -t >"$workdir/Makefile"<<EOF
cat >"$workdir/Makefile"<<EOF
BUILD_OPTS="--release"
.DEFAULT:
Expand Down

0 comments on commit 3084ece

Please sign in to comment.