rust
Jeannie222
这个作者很懒,什么都没留下…
展开
-
error: could not amend shell profile: ‘/Users/jeannie/.bash_profile‘:Permission denied (os error 13)
本条是安装rust时遇到的问题。原创 2024-02-12 19:28:05 · 647 阅读 · 1 评论 -
error: failed to parse manifest at `...`Caused by: no targets specified in the manifest either src
解决方法:进入Cargo.toml,由于报错信息中出现的是a [lib] section, or [bin] section must be present,所以在配置文件toml中增加一个bin配置,如下图所示。运行rust第一个程序时遇到的问题,使用rustc编译并运行时没有这个问题。增加name和path。原创 2024-02-12 21:10:34 · 649 阅读 · 1 评论