1DOLLY 72PACKAGE cargo3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST http@06REQUIRES HOST threads@0789COPY /v0.1.7/demos/rust/Dollyfile-rust-build 67e4a64869485598f6258797dc8815e8012eaaee05a4cb944c53ed20f6cea3e4 /usr/bin/cargo /usr/bin/cargo10COPY /v0.1.7/demos/rust/Dollyfile-rust-build 67e4a64869485598f6258797dc8815e8012eaaee05a4cb944c53ed20f6cea3e4 /usr/share/licenses/cargo /usr/share/licenses/cargo11COPY /v0.1.7/demos/rust/Dollyfile-rust-build 67e4a64869485598f6258797dc8815e8012eaaee05a4cb944c53ed20f6cea3e4 /usr/share/dolly/builds/cargo.lock /usr/share/dolly/builds/cargo.lock1213INSTALL /v0.1.7/demos/rust/Dollyfile-rust 5e6723cdcaa7ffbb28454aa7968ee8da33d0240ec71a20df85c2f2778616dad21415EXPORTS 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