1DOLLY 82PACKAGE rust3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST threads@067# The Rust SDK as rust-build built it. Its rustc finds its sysroot beside8# itself, so /usr/bin/rustc starts it by its own path.9COPY /demos/rust/Dollyfile-rust-build c2f254bba5149a1add4b0c9d58aae358c284ec17b9de930e08ac392143958e20 /opt/rust-sdk /opt/rust-sdk10COPY /demos/rust/Dollyfile-rust-build c2f254bba5149a1add4b0c9d58aae358c284ec17b9de930e08ac392143958e20 /usr/share/licenses/rust /usr/share/licenses/rust11# rustc links what it compiles with the C toolchain.12INSTALL /Dollyfile-cc 3c50048026aec1c0c21ac6c0b74d93f53b5c0a3fa83b5c9930d86924a3b59eaa13FILE /usr/bin/rustc14    #!/bin/slop15    /opt/rust-sdk/bin/rustc "$@"16FILE /usr/bin/rustdoc17    #!/bin/slop18    /opt/rust-sdk/bin/rustdoc "$@"19EXPORTS TOOL rustc20EXPORTS TOOL rustdoc21EXPORTS FOLDER rust-sdk /opt/rust-sdk22EXPORTS FOLDER rust-licenses /usr/share/licenses/rust23FILE /usr/share/man/cat1/rustc.124    rustc: the Rust compiler and standard library, built inside Dolly from their25    pinned sources (Rust 1.98.1, its LLVM 22.1.8).26    27      rustc main.rs -o main     compiles a program; cc links it28      rustdoc --test lib.rs     runs a library's doc tests29      cargo build               builds a crate (the cargo package)30    31    Panics unwind, by WebAssembly exceptions; a crate built with panic = "abort"32    links the same library. There are no dynamic Rust libraries. Executables33    link threaded and need threads@0 in the image that runs them. The compiler loads procedural macros, so an image that keeps34    rustc declares dso@0. Upstream's documentation: https://doc.rust-lang.org/35