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

Runtime: Fix rust local-lambda build step on windows # #3659

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

ZakkProjects
Copy link
Contributor

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.

Discord thread

Copy link

changeset-bot bot commented Feb 6, 2024

🦋 Changeset detected

Latest commit: 8de2721

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
sst Patch
@sst/console Patch
create-sst Patch
astro-sst Patch
svelte-kit-sst Patch
solid-start-sst Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ZakkProjects
Copy link
Contributor Author

closes #3658

@jayair
Copy link
Contributor

jayair commented Feb 7, 2024

Taking a look!

@thdxr thdxr merged commit e2a019d into sst:master Feb 12, 2024
1 check was pending
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

Successfully merging this pull request may close these issues.

None yet

3 participants