1DOLLY 72PACKAGE cargo3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST http@06REQUIRES HOST threads@078# Cargo as rust-build built it.9COPY /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.lock12# Cargo runs rustc: the package brings the compiler it was built with.13INSTALL /v0.1.7/demos/rust/Dollyfile-rust 5e6723cdcaa7ffbb28454aa7968ee8da33d0240ec71a20df85c2f2778616dad214# The cc crate's default flags name a target; Dolly's cc has one.15EXPORTS ENV CRATE_CC_NO_DEFAULTS 116# A Git dependency is fetched by git, which reaches HTTP hosts through the17# broker; Cargo's own Git opens sockets, which a program has none of.18EXPORTS 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