{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreif5ngmhb6vkkzlzsacfctzcciiwp2jv6xf4zbh3gpuma3hrbzvk6u",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mkawj6hkd7z2"
},
"path": "/t/check-only-clippy-fmt-for-ci-cd/24197#post_3",
"publishedAt": "2026-04-24T14:43:19.000Z",
"site": "https://internals.rust-lang.org",
"tags": [
"rust images"
],
"textContent": "bjorn3:\n\n> The docker images don't have rustup at all, so there is no `$RUSTUP_HOME`.\n\nI mean these rust images, which are labelled as official. Running a Shell via podman on `rust:1.95.0-slim`, it has obviously been installed by rustup:\n\n\n # echo $RUSTUP_HOME $CARGO_HOME\n /usr/local/rustup /usr/local/cargo\n # ls -l $RUSTUP_HOME/toolchains/1.95.0-aarch64-unknown-linux-gnu/bin $CARGO_HOME/bin\n /usr/local/cargo/bin:\n total 19048\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 cargo -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 cargo-clippy -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 cargo-fmt -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 cargo-miri -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 clippy-driver -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rls -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rust-analyzer -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rust-gdb -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rust-gdbgui -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rust-lldb -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rustc -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rustdoc -> rustup\n lrwxrwxrwx 1 root root 6 Apr 16 23:59 rustfmt -> rustup\n -rwxrwxrwx 1 root root 19502880 Apr 16 23:59 rustup\n\n /usr/local/rustup/toolchains/1.95.0-aarch64-unknown-linux-gnu/bin:\n total 58296\n -rwxrwxrwx 1 root root 40615904 Apr 16 23:59 cargo\n -rwxrwxrwx 1 root root 980 Apr 16 23:59 rust-gdb\n -rwxrwxrwx 1 root root 2160 Apr 16 23:59 rust-gdbgui\n -rwxrwxrwx 1 root root 1060 Apr 16 23:59 rust-lldb\n -rwxrwxrwx 1 root root 2333568 Apr 16 23:59 rustc\n -rwxrwxrwx 1 root root 16728448 Apr 16 23:59 rustdoc\n\n\nFor the rest, thanks for your clarifications!",
"title": "Check-only Clippy & Fmt for CI/CD"
}