sst / sst

Build modern full-stack applications on AWS

Home Page:https://sst.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust lambda compilation fails on copying files.

ZakkProjects opened this issue · comments

When compiling rust lambda functions on Windows platform, there is bug when sst runtime handler for rust is trying to copy files into the artifacts folder.

Running cargo build on windows creates files with .exe extension.
image

Copying files into artifacts folder then failes because it cant find "main" file.

In deploy mode, there is no need to add ".exe" extension to "bootstrap" file since cargo lambda build is set up correctly to build with linux environment.


If you've already posted your issue on Discord, make sure to leave a link to it here.