Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.05 KB

File metadata and controls

60 lines (39 loc) · 1.05 KB

Hello-World App in Rust for Aurora OS

Build Status

This is an example of the simplest application written in Rust to be run on the mobile Aurora OS.

Prerequisites

Build

  • 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
    

Install and Run

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

License

Source code is licensed under the MIT license.