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

464 B

Roc installation guide for other systems

  1. Install Rust

  2. Build Roc from source

  3. Run examples:

    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