我已经按照安装部分中的说明从 Microsoft 安装了 C++ 2015 Tools。
我收到这个错误:
C:\Users\Mg Sein\Desktop\rust\hello_world>cargo build
error: failed to parse manifest at `C:\Users\Mg Sein\Desktop\rust\Cargo.toml`
Caused by:
no `package` section found.
这是项目文件的目录:
我为 cargo
添加了路径变量:
这是 Cargo.toml 的内容:
[package]
name = "hello_world"
version = "0.1.0"
authors = ["Mg Sein"]
[dependencies]
最佳答案
关于rust - 错误 : failed to parse manifest caused by: no `package` section found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47486841/