compile_rust

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

compile_rust demonstrates compiling and running Rust code in a sandboxed environment.

This example shows how to: - Use FilesystemSnapshotFactory to cache the Rust environment - Pull an OCI image (rust:slim) - Create a sandbox instance from a cached snapshot - Write Rust source code to the filesystem - Compile the code using rustc - Execute the compiled binary

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL