roc/getting_started/other.md
2022-08-31 14:09:34 -04: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