1DOLLY 72PACKAGE cargo3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST http@06REQUIRES HOST threads@0789COPY /v0.1.5/demos/rust/Dollyfile-rust-build bcbfe051dcd24ca850092077d4d5ee91b09ceb95ef5d8362730636615f012064 /usr/bin/cargo /usr/bin/cargo10COPY /v0.1.5/demos/rust/Dollyfile-rust-build bcbfe051dcd24ca850092077d4d5ee91b09ceb95ef5d8362730636615f012064 /usr/share/licenses/cargo /usr/share/licenses/cargo11COPY /v0.1.5/demos/rust/Dollyfile-rust-build bcbfe051dcd24ca850092077d4d5ee91b09ceb95ef5d8362730636615f012064 /usr/share/dolly/builds/cargo.lock /usr/share/dolly/builds/cargo.lock1213INSTALL /v0.1.5/demos/rust/Dollyfile-rust 7f258b3de3e6eb6cad779b6f2067194a066d76a8306d58b378ac2fabaaf5752a1415EXPORTS ENV CRATE_CC_NO_DEFAULTS 1161718EXPORTS ENV CARGO_NET_GIT_FETCH_WITH_CLI true19EXPORTS TOOL cargo20EXPORTS FOLDER cargo-licenses /usr/share/licenses/cargo21FILE /usr/share/dolly/builds/cargo.lock2223FILE /usr/share/man/cat1/cargo.124 cargo: Cargo 1.98.1, built inside Dolly; the rust package is its compiler.25 26 cargo build builds a crate: path and vendored dependencies,27 build scripts and procedural macros28 cargo test runs its tests and doc tests29 target/debug/NAME runs what it built30 31 cargo run builds and replaces Cargo with the program (exec). Crate archives32 come through the page's HTTP broker; crates.io's index sends no CORS headers,33 so a project's crates are vendored: amy install vendor-crates, then34 vendor-crates in the project and cargo build --offline. A crate that uses35 libc needs the SDK's copy, which vendor-crates patches in. A Git dependency36 is fetched by git (amy install git), from a host that sends CORS headers.37 There is no cargo search, publish or login.38 Upstream's book: https://doc.rust-lang.org/cargo/39