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

There are build warnings when using sails-rs from git #520

Open
gshep opened this issue Sep 9, 2024 · 0 comments
Open

There are build warnings when using sails-rs from git #520

gshep opened this issue Sep 9, 2024 · 0 comments

Comments

@gshep
Copy link
Member

gshep commented Sep 9, 2024

File Location(s)

No response

Proposal

Looks scary however compilation doesn't fail:

$ cargo b -p relayer -r
error: invalid key
 --> ../../../.cargo/git/checkouts/sails-16eb22ba27b47ec5/aab0873/templates/program/Cargo.toml:2:1
  |
2 | {% if with-client %}
  | ^
  |
error: invalid character `{` in package name: `{{ app-project-name }}`, the first character must be a Unicode XID start character (most letters or `_`)
 --> ../../../.cargo/git/checkouts/sails-16eb22ba27b47ec5/aab0873/templates/program/app/Cargo.toml:2:8
  |
2 | name = "{{ app-project-name }}"
  |        ^^^^^^^^^^^^^^^^^^^^^^^^
  |
error: invalid key
  --> ../../../.cargo/git/checkouts/sails-16eb22ba27b47ec5/aab0873/templates/program/client/Cargo.toml:11:1
   |
11 | {{ app-project-name }} = { path = "../app" }
   | ^
   |
error: invalid key
  --> ../../../.cargo/git/checkouts/sails-16eb22ba27b47ec5/aab0873/templates/program-alt/Cargo.toml:13:1
   |
13 | {% if with-client and with-gtest %}
   | ^
   |
error: invalid key
  --> ../../../.cargo/git/checkouts/sails-16eb22ba27b47ec5/aab0873/templates/program-alt/client/Cargo.toml:11:1
   |
11 | {{ project-name }} = { path = ".." }
   | ^
   |
   Compiling proc-macro2 v1.0.86
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