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
    

Next Steps