Starnix modules are crates that are statically linked into the Starnix kernel and provide self-contained functionality.
Starnix modules can depend on starnix_core
but starnix_core
cannot depend on any modules. A Starnix module cannot depend on another Starnix module. If you need to share code between two modules, please either put that code in //src/starnix/lib
, if the code does not need to depend on starnix_core
, or in //src/starnix/kernel
, if the code does need to depend on starnix_core
.
Two common use cases for Starnix modules are device drivers and file systems.