You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -81,14 +81,12 @@ The binary has to be compiled for the target architecture and the runtime of the
81
81
- Runtimes: _Amazon Linux 2_ and _Amazon Linux 2023_
82
82
- Architectures: _x86_64_ and _arm64_
83
83
84
-
Recommended targets:
84
+
Recommended `cargo build`targets:
85
85
- Amazon Linux 2 / x86_64: `x86_64-unknown-linux-musl`
86
86
- Amazon Linux 2 / arm64: `aarch64-unknown-linux-musl`
87
87
- Amazon Linux 2023 / x86_64: `x86_64-unknown-linux-gnu`, `x86_64-unknown-linux-musl`
88
88
- Amazon Linux 2023 / arm64: `aarch64-unknown-linux-gnu`, `aarch64-unknown-linux-musl`
89
89
90
-
AWS Lambda fails with `Runtime.InvalidEntrypoint` exception if the target does not match the selected platform, e.g. id deploying _x86_64_ to _arm64_ architecture.
91
-
92
90
The following script builds and deploys a Rust executable to an existing Lambda function.
93
91
Replace the variable parts of the script with your values before running it from the project root.
AWS Lambda fails with `Runtime.InvalidEntrypoint` exception if the target does not match the selected platform, e.g. if deploying _x86_64_ to _arm64_ architecture.
105
+
106
106
See [Building a Custom Runtime Guide](https://docs.aws.amazon.com/lambda/latest/dg/runtimes-custom.html) for more detailed explanations of the build and initialization process.
107
107
108
108
#### Cross-compilation
@@ -131,7 +131,7 @@ See [Cross-compilation](https://rust-lang.github.io/rustup/cross-compilation.htm
131
131
132
132
### Using `cargo lambda` command
133
133
134
-
If you already have Cargo Lambda installed on your machine, run the next command to build your function:
134
+
If you already have [Cargo Lambda](https://www.cargo-lambda.info) installed on your machine, run the next command to build your function:
0 commit comments