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

"message": "failed to parse manifest at /Users/tz/Downloads/cortex-m-quickstart-master/Cargo.toml", #112

Open
taozhiwei21 opened this issue Mar 11, 2022 · 2 comments

Comments

@taozhiwei21
Copy link

tz@taodeMacBook-Pro cortex-m-quickstart-master % cargo build --target thumbv7m-none-eabi
error: failed to parse manifest at /Users/tz/Downloads/cortex-m-quickstart-master/Cargo.toml

Caused by:
invalid character { in package name: {{project-name}}, the first character must be a Unicode XID start character (most letters or _)
tz@taodeMacBook-Pro cortex-m-quickstart-master %

"/Users/tz/Downloads/cortex-m-quickstart-master/Cargo.toml", "owner": "rust-file:///Users/tz/Downloads/cortex-m-quickstart-master", "severity": 8, "message": "failed to parse manifest at /Users/tz/Downloads/cortex-m-quickstart-master/Cargo.toml", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 10000, "endColumn": 1 }]

@newAM
Copy link
Member

newAM commented Mar 11, 2022

It looks like that repository was a direct clone, that field usually gets filled by cargo generate.

Try this:

cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart

Install instructions for cargo generate are in the README 👍

@newAM
Copy link
Member

newAM commented Mar 12, 2022

Did that work for you @taozhiwei21 ? Happy to help if you run into more problems.

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

2 participants