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 (Apple Silicon / arm64; use :amd64 on Intel/AMD)
smolvm pack pull registry.smolmachines.com/library/rust:arm64 -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 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/amd64linux/arm64 | 6/5/2026 |
rust:1containerbash/4 CPU, 8192 MBlinux/amd64multi0.9.0