Rust toolchain (rust:1) with cargo + rustc — build and run Rust projects in an isolated microVM.
smolvm pack pull registry.smolmachines.com/library/rust:latest Verified steps — with the smolvm CLI installed:
# Pull (amd64)
smolvm pack pull registry.smolmachines.com/library/rust:amd64 -o rust.smolmachine # Run a one-off command — ephemeral, the VM is discarded when it exits
smolvm pack run --sidecar rust.smolmachine rustc --version # Or run it as a persistent machine — create, start, exec, stop
smolvm machine create --name rust --from rust.smolmachine smolvm machine start --name rust smolvm machine exec --name rust -- rustc --version smolvm machine stop --name rust | tag | digest | size | platforms | created |
|---|---|---|---|---|
latest | sha256:0099e0cb24dd… | 541 MB | linux/amd64 | 6/5/2026 |
rust:1containerbash/4 CPU, 8192 MBlinux/amd64linux/amd640.9.0