roc/getting_started/other.md
2022-10-17 15:22:20 +02:00

17 lines
464 B
Markdown

# Roc installation guide for other systems
1. [Install Rust](https://rustup.rs/)
1. [Build Roc from source](../BUILDING_FROM_SOURCE.md)
1. Run examples:
```sh
cargo run examples/platform-switching/rocLovesRust.roc
# This requires installing the Zig compiler, too.
cargo run examples/platform-switching/rocLovesZig.roc
# This requires installing the `clang` C compiler, too.
cargo run examples/platform-switching/rocLovesC.roc
```