https://github.com/croc-code/aurora-rust-helloworld
The simplest Rust project for Aurora OS
https://github.com/croc-code/aurora-rust-helloworld
Last synced: 3 months ago
JSON representation
The simplest Rust project for Aurora OS
- Host: GitHub
- URL: https://github.com/croc-code/aurora-rust-helloworld
- Owner: croc-code
- License: mit
- Created: 2021-02-09T14:54:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-15T07:42:19.000Z (over 4 years ago)
- Last Synced: 2025-01-16T18:55:17.594Z (5 months ago)
- Language: Makefile
- Homepage:
- Size: 1.67 MB
- Stars: 8
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello-World App in Rust for Aurora OS
[](https://github.com/crocinc/aurora-rust-helloworld/actions)
This is an example of the simplest application written in Rust to be run on the mobile Aurora OS.
# Prerequisites
* Ubuntu Linux host OS
* Rust installed (see https://rustup.rs for details)
* `make`# 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](LICENSE).