Skip to content

Conversation

@h-yj22
Copy link

@h-yj22 h-yj22 commented Mar 24, 2025

add docs for runtime module


`rust_main`函数中,运行时模块会根据启用的feature进行初始化工作,主要包括:

- 初始化内存分配器
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can paste the specific code corresponding to these functions

"Boot at {}\n",
chrono::DateTime::from_timestamp_nanos(axhal::time::wall_time_nanos() as _),
);
```
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

是否可以添加一下在所有feature启动后的 rust_main 和 rust_main_secondary 的启动流程分析?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants