Rust Programming Playground
A disposable Rust development environment with stable, beta, and nightly toolchains, cargo-watch, rustfmt, and clippy pre-installed.
A disposable Rust development environment with stable, beta, and nightly toolchains, cargo-watch, rustfmt, clippy, rust-analyzer, codelldb, and musl cross-compilation target pre-installed. Full IDE support via VS Code with debugger. Runs on 4 vCPU / 10 GiB RAM / 100 GiB disk.
What's included
rustc/cargo— stable, beta, nightlyrustfmt— code formatter — stable, beta, nightlyclippy— linter — stable, beta, nightlycargo-watch— recompile on file changerust-analyzer— IDE intelligence (VS Code)codelldb— native debugger (VS Code)- musl target —
x86_64-unknown-linux-muslfor static binaries
Key commands
New project
cargo new hello && cd hello
cargo run
Switch toolchain
cargo +nightly run # run with nightly
cargo +beta build # build with beta
rustup show # list installed toolchains
Watch mode
cargo watch -x run # rerun on save
cargo watch -x test # retest on save
cargo watch -x "run -- --flag"
Format and lint
cargo fmt # format all files
cargo fmt -- --check # check without modifying
cargo clippy # lint with suggestions
cargo clippy -- -D warnings # treat warnings as errors
Build
cargo build # debug build
cargo build --release # optimized build
# Static binary (musl)
cargo build --release --target x86_64-unknown-linux-musl
Test
cargo test # run all tests
cargo test test_name # run specific test
cargo test -- --nocapture # show println! output
Toolchain management
rustup show # installed toolchains
rustup toolchain list # all toolchains
rustc --version # active rustc version
cargo --version # active cargo version
rustup update # update all toolchains
A real VM, not a container
Get root on a VM with its own kernel, so Docker, Kubernetes, and systemd just work.
Read the docs →
SSH from browser or CLI
Use the built-in web terminal, or connect with labctl ssh, plain ssh, scp, or rsync.
Read the docs →
Drive it with AI
Let Claude, Codex, or any MCP client start this playground and run commands in it.
Read the docs →
Expose HTTP(S) ports
Give any web app running inside the VM a public URL - for yourself or to share with others.
Read the docs →
Share terminals
Invite others into your terminal session, or open it yourself from another device.
Read the docs →
Customize with init scripts
Add shell scripts that run at boot to install packages, clone repos, or seed test data.
Read the docs →
Private networking
VMs reach the internet via NAT with no public IP; several VMs share bridge networks.
Read the docs →
Ephemeral or persistent
By default, VMs are destroyed when the session ends; enable persistence to keep the disks for next time.
Read the docs →
Built-in container registry
A private registry.iximiuz.com for every playground to share images across services and VMs.
Read the docs →