diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-08-29 23:05:12 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-08-29 23:08:27 +0100 |
commit | 5ab50752824ca605cb9a03da9807d70f588d9a6b (patch) | |
tree | 7105e5503d701dc8a1e85020bf56e639d6c8bacf /examples | |
parent | 656c03609a2ba480dc88b28ade288b33a4b3a26b (diff) | |
download | unit-wasm-5ab50752824ca605cb9a03da9807d70f588d9a6b.tar.gz unit-wasm-5ab50752824ca605cb9a03da9807d70f588d9a6b.tar.bz2 |
examples/rust: Fix building of the hello world demo
When I renamed it from minimal to hello-world, it stopped being built
due to the make target name being the same as the directory name
(hello-world).
Rename the make target to rust-hello-world which also matches the naming
of the rest of the targets.
Fixes: 656c036 ("examples/rust: Add a minimal hello world rust example")
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/rust/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rust/Makefile b/examples/rust/Makefile index 3d645fa..a000c9c 100644 --- a/examples/rust/Makefile +++ b/examples/rust/Makefile @@ -2,7 +2,7 @@ include ../../shared.mk SDIR = examples/rust -examples: rust-echo-request rust-upload-reflector hello-world +examples: rust-echo-request rust-upload-reflector rust-hello-world rust-echo-request: echo-request/Cargo.toml echo-request/src/lib.rs $(PP_GEN) $(SDIR)/echo-request/target/wasm32-wasi/ @@ -12,7 +12,7 @@ rust-upload-reflector: upload-reflector/Cargo.toml upload-reflector/src/lib.rs $(PP_GEN) $(SDIR)/upload-reflector/target/wasm32-wasi/ $(v)cd upload-reflector; cargo build --target=wasm32-wasi -hello-world: hello-world/Cargo.toml hello-world/src/lib.rs +rust-hello-world: hello-world/Cargo.toml hello-world/src/lib.rs $(PP_GEN) $(SDIR)/hello-world/target/wasm32-wasi/ $(v)cd hello-world; cargo build --target=wasm32-wasi |