mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 12:16:48 +00:00
uevent should be format Enum of smoltcp socket should be optimized. need to add interface for routing subsys actix is still not abled to run. clean some casual added code to other places
786 B
786 B
DragonOS Rust-Application Template
您可以使用此模板来创建DragonOS应用程序。
使用方法
- 使用DragonOS的tools目录下的
bootstrap.sh
脚本初始化环境 - 在终端输入
cargo install cargo-generate
- 在终端输入
cargo generate --git https://github.com/DragonOS-Community/Rust-App-Template
即可创建项目 如果您的网络较慢,请使用镜像站cargo generate --git https://git.mirrors.dragonos.org/DragonOS-Community/Rust-App-Template
- 使用
cargo run
来运行项目 - 在DragonOS的
user/dadk/config
目录下,使用dadk new
命令,创建编译配置,安装到DragonOS的/
目录下。 (在dadk的编译命令选项处,请使用Makefile里面的make install
配置进行编译、安装) - 编译DragonOS即可安装