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
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,15 @@ custom:
100
100
cargoFlags: '--features enable-awesome'
101
101
# experimental! when set to true, artifacts are built locally outside of docker
102
102
+ dockerless: true
103
+
104
+
# when using local builds (dockerless), optionally provide a different target and linker for the compiler
105
+
# for example, allow local running on ARM macs
106
+
target: aarch64-apple-darwin
107
+
linker: clang
103
108
```
104
109
110
+
The following assumes that you have not specified a different target or linker. If you do, make sure have that you have installed the specified target (via `rustup`) and linker.
111
+
105
112
This will build and link your lambda as a static binary outside a container that can be deployed in to the lambda execution environment using [MUSL](https://doc.rust-lang.org/edition-guide/rust-2018/platform-and-target-support/musl-support-for-fully-static-binaries.html). The aim is that in future releases, this might become the default behavior.
106
113
107
114
In order to use this mode its expected that you install the `x86_64-unknown-linux-musl` target on all platforms locally with
0 commit comments