Skip to content

Conversation

@Kobzol
Copy link
Member

@Kobzol Kobzol commented Oct 7, 2025

I noticed on my GitHub page that the Rust logo stopped working. I was using a link to https://www.rust-lang.org/logos/rust-logo-16x16-blk.png, but that is now uder https://www.rust-lang.org/static/logos/rust-logo-16x16-blk.png.

This PR makes the logos available also under the original URL. Note that we can't use HTML redirects here, as it's a static file asset (an image).

@Kobzol Kobzol requested a review from a team as a code owner October 7, 2025 19:43
@senekor
Copy link
Contributor

senekor commented Oct 7, 2025

Why exactly do we need this? What is "your GitHub page" and can you update the link there?

@Kobzol
Copy link
Member Author

Kobzol commented Oct 7, 2025

I just meant this, I used an image there that pointed to https://www.rust-lang.org/logos/rust-logo-16x16-blk.png.

The motivation for this PR is to simply keep backwards compatibility of links to logos with the old website, before the move to a static web. I did a quick GitHub search, which shows that a lot of places use these links. But all these links now result in a 404 page, which seemed like a shame.

@senekor senekor merged commit 826f378 into rust-lang:main Oct 7, 2025
2 checks passed
@Kobzol Kobzol deleted the redirect-logos branch October 7, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants