You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As @JesseAbram posted on discord, whenever projects made with the cargo-generate template are built, we get the following errors:
error: invalid character `{` in package name: `{{project-name}}`, the first character must be a Unicode XID start character (most letters or `_`)
--> ../../../../.cargo/git/checkouts/programs-aa3402a6c25553e3/78c6dd7/templates/basic-template/Cargo.toml:2:8
|
2 | name = "{{project-name}}"
| ^^^^^^^^^^^^^^^^^^
|
error: invalid character `{` in package name: `{{project-name}}`, the first character must be a Unicode XID start character (most letters or `_`)
--> ../../../../.cargo/git/checkouts/programs-aa3402a6c25553e3/78c6dd7/templates/basic-template/generate-types/Cargo.toml:9:11
|
9 | program = { package= "{{project-name}}", path = "..", default-features = false, features=['std'] }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
These don't actually stop compilation from working - but it anyway should be fixed.
Im gonna look into it, but it might be that the only way to fix it is to move the generate template to a repo of its own rather than keeping here.
The text was updated successfully, but these errors were encountered:
As @JesseAbram posted on discord, whenever projects made with the cargo-generate template are built, we get the following errors:
These don't actually stop compilation from working - but it anyway should be fixed.
Im gonna look into it, but it might be that the only way to fix it is to move the generate template to a repo of its own rather than keeping here.
The text was updated successfully, but these errors were encountered: