tg-arceos-tutorial 0.1.0

Meta crate bundle for ArceOS tutorial apps, with offline archive and extract scripts.
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 334.2 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 969.11 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • chyyuu

tg-arceos-tutorial

tg-arceos-tutorial 是一个集合 crate,用于把 app-* 教学 crate 的源码打包到一个压缩包里,便于通过 cargo clone 后离线解包恢复完整目录。

使用方式

cargo clone tg-arceos-tutorial
cd tg-arceos-tutorial
bash scripts/extract_crates.sh

解包后会在当前目录生成以下 15 个 crate 目录:

  • app-childtask
  • app-collections
  • app-fairsched
  • app-guestaspace
  • app-guestmode
  • app-guestmonolithickernel
  • app-guestvdev
  • app-helloworld
  • app-lazymapping
  • app-loadapp
  • app-msgqueue
  • app-readblk
  • app-readpflash
  • app-runlinuxapp
  • app-userprivilege

进入任意 crate 目录即可独立构建/运行。

维护者:重新生成 bundle

在包含 app-* 目录的路径中执行:

cd tg-arceos-tutorial
SOURCE_ROOT=.. bash scripts/compress_crates.sh

将生成:

  • bundle/apps.tar.gz

该压缩包会被 Cargo.tomlinclude 字段打包进发布产物。