Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust lambda compilation fails on copying files. #3658

Open
ZakkProjects opened this issue Feb 6, 2024 · 0 comments
Open

Rust lambda compilation fails on copying files. #3658

ZakkProjects opened this issue Feb 6, 2024 · 0 comments

Comments

@ZakkProjects
Copy link
Contributor

ZakkProjects commented Feb 6, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant