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

Add template experience for rust users #11

Merged
merged 5 commits into from
Oct 3, 2024

Conversation

macolso
Copy link
Contributor

@macolso macolso commented Oct 3, 2024

Currently attempts to pull in SDK via GitHub reference (line 16 in cargo.toml.tmpl), which is failing on spin build

Need input from @ogghead on debugging or perhaps we can swap this reference out for crate experience instead

Signed-off-by: macolso <mackenzie.olson@fermyon.com>
Signed-off-by: macolso <mackenzie.olson@fermyon.com>
Signed-off-by: macolso <mackenzie.olson@fermyon.com>
Signed-off-by: macolso <mackenzie.olson@fermyon.com>
@ogghead
Copy link
Owner

ogghead commented Oct 3, 2024

Thank you for making this PR! I think the problem you were seeing was caused by WASI enum generation in 0.3.0, but I have now merged a 0.3.1 PR that should fix the SDK generation. Enum -> variant allows the sdk generation to proceed as expected

Appreciate you creating this template to make trigger usage easier!

@macolso
Copy link
Contributor Author

macolso commented Oct 3, 2024

Awesome, just synched my fork and confirmed that spin build now works!

@ogghead ogghead merged commit 215da86 into ogghead:main Oct 3, 2024
6 checks passed
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.

2 participants