1DOLLY 82TOOLCHAIN rust-sdk3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST dso@07REQUIRES HOST http@08REQUIRES HOST threads@0910FROM /Dollyfile-system-build 0c72e09eba84571d4f8634cf6e7507eb1be1b9b8aa1fae61f6b0ec884b26b6fb11INSTALL /Dollyfile-zlib acf8f8daaba24468b5b521bbb4d4ba3e034fe28d7a2d92fc680d2e39a1cea97112INSTALL /Dollyfile-gzip cef69a22c3b9f73889f4c819fcfaee2fb4487474ea4efa364117b8796465d1a413INSTALL /Dollyfile-curl bce8c6fafa9e15aa65c9804fc4fec07a309e6174c8e1cb80b7396ac6e458431e14REQUIRES LIB z15REQUIRES LIB curl16REQUIRES TOOL cc17REQUIRES TOOL ar18REQUIRES TOOL tar19REQUIRES TOOL gzip20REQUIRES TOOL cp21REQUIRES TOOL rm22REQUIRES TOOL mkdir2324# The seed: rustc and its standard library as the previous round's rust-build25# built them, and its Cargo. The linker adapter is compiled inside Dolly.26SOURCE /dist/static/rust/rust-seed.tar.gz 8b779884632ab9b57dcabf2b50c337c1b7fd5765417923c4ee8b7485ee6afc5d /tmp/rust-seed.tar.gz27SLOP gzip -dc /tmp/rust-seed.tar.gz | tar -xf - -C /28SOURCE /dist/static/rust/rustc.sh 03589f0b44268b0bb22c1d5db37aa58cd882a8d2dae81902a23ab2385c3dde6e /opt/rust-sdk/bin/rustc29SOURCE /dist/static/rust/rust-linker.c 547aca3d09e23c051cfca0d66d9bfaa141fa2a5d7321b8326f18eb975ab42a72 /tmp/rust-linker.c30SLOP cc -O1 /tmp/rust-linker.c -o /opt/rust-sdk/bin/dolly-rust-link31# What the adapter adds to a program that loads Rust libraries: the dl* names32# Rust binds.33SOURCE /dist/static/rust/dlopen.c cd3f75610360f299acd6ff507900ec2ad0273222465fde4184d59da4b188cc6b /tmp/rust-host/dlopen.c34SLOP CWD /tmp/rust-host cc -O2 -fPIC -c dlopen.c35SLOP CWD /tmp/rust-host ar rcs /opt/rust-sdk/lib/dolly-rust-host.a dlopen.o36SLOP rm -rf /tmp/rust-host37SLOP mkdir -p /usr/share/licenses/rust38SLOP cp -R /opt/rust-sdk/licenses/. /usr/share/licenses/rust39SLOP rm /tmp/rust-seed.tar.gz /tmp/rust-linker.c4041EXPORTS ENV PATH /bin:/usr/bin:/opt/rust-sdk/bin42EXPORTS TOOL rustc43EXPORTS TOOL cargo44# Images build once, so rustc's incremental sessions would only be a second45# copy of every object (there are no hard links), in a filesystem that lives in46# kernel memory: the codex build ran out of space at codex-core with them. The47# cargo package, for a session's own projects, keeps them.48EXPORTS ENV CARGO_INCREMENTAL 049# The cc crate's default flags name a target; Dolly's cc has one.50EXPORTS ENV CRATE_CC_NO_DEFAULTS 151EXPORTS FOLDER rust-sdk /opt/rust-sdk52EXPORTS FOLDER rust-licenses /usr/share/licenses/rust53SLOP rustc --version --verbose54SLOP cargo --version55INSTALL /Dollyfile-display a03812d93e51c6338e43063f954fb9492ee0535f94a39e5c377d504a3d9eedb85657ENTRY /bin/foreground -i /bin/slop58