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

Use .tmpl to stop SDK refs trying to parse the template Cargo.toml #31

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

itowlson
Copy link
Contributor

The SDK is currently only in GitHub. When Rust resolves a reference to the SDK, it scans the entire repo. In recent version of Rust, this chokes because there is a Cargo.toml in the templates directory and that is not a valid Cargo manifest. The workaround is to add the .tmpl extension, which recent versions of Spin know how to strip when installing the template.

@itowlson
Copy link
Contributor Author

cc @karthik2804

@radu-matei radu-matei merged commit 230b8a3 into spinkube:main Jun 26, 2024
7 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.

4 participants