您可以使用此模板来创建DragonOS上的Rust语言应用程序
|
|
2 年 前 | |
|---|---|---|
| .cargo | 2 年 前 | |
| src | 2 年 前 | |
| .gitignore | 2 年 前 | |
| Cargo.toml | 2 年 前 | |
| LICENSE | 2 年 前 | |
| Makefile | 2 年 前 | |
| README.md | 2 年 前 | |
| cargo-generate.toml | 2 年 前 |
您可以使用此模板来创建DragonOS应用程序。
bootstrap.sh脚本初始化环境cargo install cargo-generatecargo generate --git https://github.com/DragonOS-Community/Rust-App-Template即可创建项目
如果您的网络较慢,请使用镜像站cargo generate --git https://git.mirrors.dragonos.org/DragonOS-Community/Rust-App-Templatecargo run来运行项目user/dadk/config目录下,使用dadk new命令,创建编译配置,安装到DragonOS的/目录下。
(在dadk的编译命令选项处,请使用Makefile里面的make install配置进行编译、安装)