Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 5ab5075

Browse files
committed
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>
1 parent 656c036 commit 5ab5075

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/rust/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include ../../shared.mk
22

33
SDIR = examples/rust
44

5-
examples: rust-echo-request rust-upload-reflector hello-world
5+
examples: rust-echo-request rust-upload-reflector rust-hello-world
66

77
rust-echo-request: echo-request/Cargo.toml echo-request/src/lib.rs
88
$(PP_GEN) $(SDIR)/echo-request/target/wasm32-wasi/
@@ -12,7 +12,7 @@ rust-upload-reflector: upload-reflector/Cargo.toml upload-reflector/src/lib.rs
1212
$(PP_GEN) $(SDIR)/upload-reflector/target/wasm32-wasi/
1313
$(v)cd upload-reflector; cargo build --target=wasm32-wasi
1414

15-
hello-world: hello-world/Cargo.toml hello-world/src/lib.rs
15+
rust-hello-world: hello-world/Cargo.toml hello-world/src/lib.rs
1616
$(PP_GEN) $(SDIR)/hello-world/target/wasm32-wasi/
1717
$(v)cd hello-world; cargo build --target=wasm32-wasi
1818

0 commit comments

Comments
 (0)