An open API service indexing awesome lists of open source software.

https://github.com/m00nwtchr/oc2_hello_world

Open Computers II (RISC-V Musl Linux) Hello World Rust example, made very small
https://github.com/m00nwtchr/oc2_hello_world

linux minecraft musl oc2 opencomputers risc-v riscv rust-lang rustlang

Last synced: about 2 months ago
JSON representation

Open Computers II (RISC-V Musl Linux) Hello World Rust example, made very small

Awesome Lists containing this project

README

        

# Open Computers II (RISC-V Musl Linux) Hello World Rust example, made very small

Final compiled binary size: ~8KiB

- `strip = true`
- `panic = 'abort'`
- `codegen-units = 1`
- `opt-level = 'z'`
- `lto = true`
- `build-std`
- `panic_immediate_abort`
- `#![no_main]`

## Resources

https://github.com/johnthagen/min-sized-rust

https://darkcoding.net/software/a-very-small-rust-binary-indeed/