A rust wrapper crate for the CMSIS-RTOS2 API, which should be provided by another library, and linked into the consuming library or application.
For example, FreeRTOS or RTX can provide implementations of this API.
Typically the target architecture is provided by the build consuming this crate. You can test this with eg:
cargo build --target thumbv7em-none-eabihf