This is an example of the simplest application written in Rust to be run on the mobile Aurora OS.
- Ubuntu Linux host OS
- Rust installed (see https://rustup.rs for details)
make
-
Prepare:
make prepare
-
Compile:
make # or make release
-
Build RPM-package
make rpm
Output .rpm file is in
target/armv7-unknown-linux-gnueabihf/release/rpmbuild/RPMS/armv7hl
directory. -
Copy to a mobile device (without package signing):
make install
After package signing it is necessary to copy it to the target device and install onto the Aurora OS:
$ devel-su
# pkcon install-local ./aurora-rust-helloworld-*.armv7hl.rpm
Run:
$ aurora-rust-helloworld
Source code is licensed under the MIT license.