Back in 2022, the SerenityOS maintainers ported rustc, std, and the rust libc crate to serenity. This was a part of the big 'should we use rust' experiment that eventually resulted in the creation of the Jakt language.
Since then, Lucas has upstreamed the Clang Driver changes from our LLVM port, so it's finally time to upstream the rust changes! This was driven by @linus pointing out that they can't update several ports due to them picking up rust dependencies. We can't let the line of up-to-date ports start going down!
Unfortunately, the old patches we used are so out of date that it's better to just start from zero. Even if the changes end up equivalent, most of the files have moved. Especially in std.
But, behold! It works :tm: (see screenshot).
Now all I need is for someone to merge my patches 🙏 🦀
https://github.com/rust-lang/rust/pull/164483


![Screenshot of terminal showing two `dig` commands for txt records, first for fediverse.s.ns.find.cxbyte.me and next for 1.read.some-token.t.ns.find.cxbyte.me
Outputs showing a list of results, including "[1] Fediverse -Wikipedia"; and text contents of the Wikipedia page on the Fediverse.](https://media.serenityos.social/media_attachments/files/116/411/841/328/220/452/small/df73dbad5bfbb83f.png)
