summaryrefslogtreecommitdiff
path: root/c/wasi-http
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2024-09-06 03:23:19 +0100
committerAndrew Clayton <a.clayton@nginx.com>2024-09-06 03:23:19 +0100
commit0067683bfe382858c281d0c561864f7052210b02 (patch)
treef5abd7bab73fe3d42dc5e71ae704fb646f20c3da /c/wasi-http
parent516004de4170baf52f322c274efbccf0d9cc2a9c (diff)
downloadproject_blackbird-0067683bfe382858c281d0c561864f7052210b02.tar.gz
project_blackbird-0067683bfe382858c281d0c561864f7052210b02.tar.bz2
w-h/0.2.0: Update examples to use included WIT files
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to '')
-rw-r--r--c/wasi-http/0.2.0/download-test/Makefile4
-rw-r--r--c/wasi-http/0.2.0/echo-request/Makefile4
-rw-r--r--c/wasi-http/0.2.0/large-upload/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/c/wasi-http/0.2.0/download-test/Makefile b/c/wasi-http/0.2.0/download-test/Makefile
index f9e3bfe..03ff9f8 100644
--- a/c/wasi-http/0.2.0/download-test/Makefile
+++ b/c/wasi-http/0.2.0/download-test/Makefile
@@ -14,8 +14,8 @@ LDFLAGS = -Wl,--no-entry,--export=__heap_base,--export=__data_end,--export=mallo
all: component.wasm
bindgen:
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c /home/andrew/src/c/wasm/git/wasi-http/wit --autodrop-borrows yes --world wasi:http/proxy
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown /home/andrew/src/c/wasm/git/wasi-http/wit --world wasi:http/proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c ../../wit/wasi-http/0.2.0 --autodrop-borrows yes --world proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown ../../wit/wasi-http/0.2.0 --world proxy
.PHONY:
module.wasm: bindgen
diff --git a/c/wasi-http/0.2.0/echo-request/Makefile b/c/wasi-http/0.2.0/echo-request/Makefile
index 9dc5329..d5a7898 100644
--- a/c/wasi-http/0.2.0/echo-request/Makefile
+++ b/c/wasi-http/0.2.0/echo-request/Makefile
@@ -14,8 +14,8 @@ LDFLAGS = -Wl,--no-entry,--export=__heap_base,--export=__data_end,--export=mallo
all: component.wasm
bindgen:
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c /home/andrew/src/c/wasm/git/wasi-http/wit --autodrop-borrows yes --world wasi:http/proxy
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown /home/andrew/src/c/wasm/git/wasi-http/wit --world wasi:http/proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c ../../wit/wasi-http/0.2.0 --autodrop-borrows yes --world proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown ../../wit/wasi-http/0.2.0 --world proxy
.PHONY:
module.wasm: bindgen
diff --git a/c/wasi-http/0.2.0/large-upload/Makefile b/c/wasi-http/0.2.0/large-upload/Makefile
index f9e3bfe..03ff9f8 100644
--- a/c/wasi-http/0.2.0/large-upload/Makefile
+++ b/c/wasi-http/0.2.0/large-upload/Makefile
@@ -14,8 +14,8 @@ LDFLAGS = -Wl,--no-entry,--export=__heap_base,--export=__data_end,--export=mallo
all: component.wasm
bindgen:
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c /home/andrew/src/c/wasm/git/wasi-http/wit --autodrop-borrows yes --world wasi:http/proxy
- /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown /home/andrew/src/c/wasm/git/wasi-http/wit --world wasi:http/proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen c ../../wit/wasi-http/0.2.0 --autodrop-borrows yes --world proxy
+ /home/andrew/src/c/wasm/git/wit-bindgen/target/release/wit-bindgen markdown ../../wit/wasi-http/0.2.0 --world proxy
.PHONY:
module.wasm: bindgen