Rust lambda compilation fails on copying files.
ZakkProjects opened this issue · comments
Daniel Makovský commented
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.
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.