Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upGetting started cargo.toml not valid #395
Comments
This comment has been minimized.
vitiral
commented
Aug 13, 2016
|
I am having the same issue:
I just did a literal copy-paste of the tutorial (including version = "0.7.0" and got this rather confusing error:
So it seems to be using v0.7.1 instead of 0.7.0. Fix
Then it seems to compile and run |
This comment has been minimized.
vitiral
commented
Aug 13, 2016
|
I would recommend just changing the "getting started" guide to using the newer versions. Not sure why Cargo is trying to get 0.7.1 when I am explicitly telling it to use 0.7.0 -- could be a Cargo bug? |
This comment has been minimized.
vitiral
commented
Aug 13, 2016
|
The broken code is at (static link to commit): |
This comment has been minimized.
vitiral
commented
Aug 14, 2016
|
re-reading the tutorial I see that you require a specific nightly version. I will just use that -- thanks! |
This comment has been minimized.
|
FYI:
Cargo treats |
viraptor commentedAug 2, 2016
•
edited
The getting started guide contains:
However cargo says:
Using rustc 1.12.0-nightly (28ce3e8a5 2016-08-01)