1DOLLY 72PACKAGE cargo3REQUIRES HOST runtime@04REQUIRES HOST dso@05REQUIRES HOST http@06REQUIRES HOST threads@078# Cargo as rust-build built it.9COPY /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.lock12# Cargo runs rustc: the package brings the compiler it was built with.13INSTALL /v0.1.5/demos/rust/Dollyfile-rust 7f258b3de3e6eb6cad779b6f2067194a066d76a8306d58b378ac2fabaaf5752a14# 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