From 59b083c6dfb093bc5b1ef1134a55c9322c06950d Mon Sep 17 00:00:00 2001 From: Richard H Boyd Date: Fri, 5 Feb 2021 16:25:30 -0500 Subject: [PATCH] point to basic.rs instead of hello using the parameter `hello` results in the following error. ```text error: no example target named `hello` ``` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32385540..e624a692 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ $ echo $'[target.x86_64-unknown-linux-musl]\nlinker = "x86_64-linux-musl-gcc"' > Compile one of the examples as a _release_ with a specific _target_ for deployment to AWS: ```bash -$ cargo build -p lambda --example hello --release --target x86_64-unknown-linux-musl +$ cargo build -p lambda --example basic --release --target x86_64-unknown-linux-musl ``` 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.