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

cargo build erro #1

Open
mazgalesc opened this issue Aug 30, 2023 · 3 comments
Open

cargo build erro #1

mazgalesc opened this issue Aug 30, 2023 · 3 comments

Comments

@mazgalesc
Copy link

I get this error when i try to build

"aused by:
could not parse input as TOML

Caused by:
TOML parse error at line 1, column 16
|
1 | Cargo.make.toml
| ^
expected ., ="

@Nemesis313
Copy link
Owner

you have a syntax error in your Cargo.toml file. The TOML parser expects a dot (.) or an equal sign (=) to separate the key and the value, but you have a comma (,) instead. This causes the parser to get confused and throw an error.

To fix this, you need to remove the comma after the key “name” and add a dot before the value “Aused by”. The correct line should look like this:

name = “Aused by”

This will tell the parser that you are assigning a string value to the key “name”. You can also use quotation marks around the value if you want, like this:

name = “"Aused by"”

This will prevent any confusion with other characters that might look like commas or equal signs.
I hope these explanations are useful for you

Repository owner deleted a comment Feb 1, 2024
Repository owner deleted a comment from jalamari2018 Mar 19, 2024
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

6 participants
@Nemesis313 @mazgalesc and others