1DOLLY 72PACKAGE rust3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST threads@06789COPY /v0.1.5/demos/rust/Dollyfile-rust-build bcbfe051dcd24ca850092077d4d5ee91b09ceb95ef5d8362730636615f012064 /opt/rust-sdk /opt/rust-sdk10COPY /v0.1.5/demos/rust/Dollyfile-rust-build bcbfe051dcd24ca850092077d4d5ee91b09ceb95ef5d8362730636615f012064 /usr/share/licenses/rust /usr/share/licenses/rust1112INSTALL /v0.1.5/Dollyfile-cc afd89a983721972cb610d1d03ea39d5e6123d50b7b1a2b6922f1265657cc286a13FILE /usr/bin/rustc1415 /opt/rust-sdk/bin/rustc "$@"16FILE /usr/bin/rustdoc1718 /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