Skip to content

Commit 6033ce3

Browse files
author
Richard H Boyd
authored
point to basic.rs instead of hello (#285)
using the parameter `hello` results in the following error. ```text error: no example target named `hello` ```
1 parent e0803e1 commit 6033ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $ echo $'[target.x86_64-unknown-linux-musl]\nlinker = "x86_64-linux-musl-gcc"' >
5656

5757
Compile one of the examples as a _release_ with a specific _target_ for deployment to AWS:
5858
```bash
59-
$ cargo build -p lambda --example hello --release --target x86_64-unknown-linux-musl
59+
$ cargo build -p lambda --example basic --release --target x86_64-unknown-linux-musl
6060
```
6161

6262
For [a custom runtime](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html), AWS Lambda looks for an executable called `bootstrap` in the deployment package zip. Rename the generated `basic` executable to `bootstrap` and add it to a zip archive.

0 commit comments

Comments
 (0)