You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Rust 多仓库组件统一管理以及新ArceOS主线适配
背景与痛点
当前问题
我们的 Rust 项目目前采用多仓库架构,各个组件(crate)分散在不同的 Git 仓库中。
解决方案
核心思路:git submodule
提议新建一个开发脚手架,
axvisor-sdk
目标结构
通过 .cargo/config.toml
[patch]
将依赖改为本地依赖
Axvisor 由 bin 变为 lib
bsp为 bin,依赖 Axvisor lib
Axvisor
lib.rs
:bsp/rk35xx/rk3568/main.rs
对多个crate 修改后,每个crate的pr可以在
axvisor-sdk
repo 中的issue中进行统计说明,方便review了解全部改动的关系。Beta Was this translation helpful? Give feedback.
All reactions