https://github.com/orangecms/hello-linux-rv64-rs
A simple program for Linux on RISC-V 64, written in Rust
https://github.com/orangecms/hello-linux-rv64-rs
Last synced: about 1 year ago
JSON representation
A simple program for Linux on RISC-V 64, written in Rust
- Host: GitHub
- URL: https://github.com/orangecms/hello-linux-rv64-rs
- Owner: orangecms
- License: gpl-2.0
- Created: 2021-12-30T20:53:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-16T12:48:07.000Z (over 2 years ago)
- Last Synced: 2025-01-24T10:24:15.737Z (over 1 year ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello Linux RISC-V 64
This tiny tool lets you print some information from `/proc` and `uname` from
Linux on RISC-V 64.
## Build
You will need [Rust](https://www.rust-lang.org/) and the linker from
`riscv64-linux-gnu-gcc`.
```sh
cargo build --release
```
## Run via [`cpu`](https://github.com/u-root/cpu)
```sh
cpu -key ~/.ssh/cpu_rsa -timeout9p 2000ms target-host \
./target/riscv64gc-unknown-linux-gnu/release/hello-rust
```