1DOLLY 72TOOLCHAIN rust-sdk3REQUIRES HOST runtime@04REQUIRES HOST display@05REQUIRES HOST input@06REQUIRES HOST dso@07REQUIRES HOST http@08REQUIRES HOST threads@0910FROM /v0.1.6/Dollyfile-system-build 2b3dacf451ba777ad3724b819014df4e705b024aa73c51c60125d8b5e45c9b5711INSTALL /v0.1.6/Dollyfile-zlib 48ee0a5552eada81c0324749ba5ce9a7d2a2505a91f3ffcaf51f81c36a641f8212INSTALL /v0.1.6/Dollyfile-gzip afb9abb2b9a78e4c82811af6f5695f814ac322f538655f733ba6813895be13ae13INSTALL /v0.1.6/Dollyfile-curl 084ff066ff997321eb771ee8a29503b8e5eb6ff877cb6407df761bcb5173655b14REQUIRES LIB z15REQUIRES LIB curl16REQUIRES TOOL cc17REQUIRES TOOL ar18REQUIRES TOOL tar19REQUIRES TOOL gzip20REQUIRES TOOL cp21REQUIRES TOOL rm22REQUIRES TOOL mkdir2324# The external seed: rustc and its standard library, linked, and Cargo as one25# object. The linker adapter is compiled inside Dolly.26SOURCE /v0.1.6/dist/static/rust/rust-sdk.tar.gz d0a8930cd6a049f86da9a1fa8270b3d1ea191d59de43866238d9ed335b3668a1 /tmp/rust-sdk.tar.gz27SLOP mkdir -p /opt28SLOP gzip -dc /tmp/rust-sdk.tar.gz | tar -xf - -C /opt29SOURCE /v0.1.6/dist/static/rust/rustc.sh 03589f0b44268b0bb22c1d5db37aa58cd882a8d2dae81902a23ab2385c3dde6e /opt/rust-sdk/bin/rustc30SOURCE /v0.1.6/dist/static/rust/rust-linker.c 63c7b7fd5b4a73e7227b1e00ca5f878d45ee40d89b939886f433acb4264577f3 /tmp/rust-linker.c31SLOP cc -O1 /tmp/rust-linker.c -o /opt/rust-sdk/bin/dolly-rust-link32# What the adapter adds to a program that loads Rust libraries: the dl* names33# Rust binds.34SOURCE /v0.1.6/dist/static/rust/dlopen.c cd3f75610360f299acd6ff507900ec2ad0273222465fde4184d59da4b188cc6b /tmp/rust-host/dlopen.c35SLOP CWD /tmp/rust-host cc -O2 -fPIC -c dlopen.c36SLOP CWD /tmp/rust-host ar rcs /opt/rust-sdk/lib/dolly-rust-host.a dlopen.o37# Cargo's libc, libcurl and zlib are this image's.38SLOP cc -pthread /opt/rust-sdk/cargo.o -lcurl -lz -o /usr/bin/cargo39SLOP rm -rf /opt/rust-sdk/cargo.o /tmp/rust-host40SLOP mkdir -p /usr/share/licenses/rust41SLOP cp -R /opt/rust-sdk/licenses/. /usr/share/licenses/rust42SLOP rm /tmp/rust-sdk.tar.gz /tmp/rust-linker.c4344EXPORTS ENV PATH /bin:/usr/bin:/opt/rust-sdk/bin45EXPORTS TOOL rustc46EXPORTS TOOL cargo47# Images build once, so rustc's incremental sessions would only be a second48# copy of every object (there are no hard links), in a filesystem that lives in49# kernel memory: the codex build ran out of space at codex-core with them. The50# cargo package, for a session's own projects, keeps them.51EXPORTS ENV CARGO_INCREMENTAL 052# The cc crate's default flags name a target; Dolly's cc has one.53EXPORTS ENV CRATE_CC_NO_DEFAULTS 154EXPORTS FOLDER rust-sdk /opt/rust-sdk55EXPORTS FOLDER rust-licenses /usr/share/licenses/rust56SLOP rustc --version --verbose57SLOP cargo --version58INSTALL /v0.1.6/Dollyfile-display 9516e36ef9c8566c9f0590546e1474db96ca02ddc75028e562e92af71fdbdeef5960ENTRY /bin/foreground -i /bin/slop61