|
|
Subscribe / Log in / New account

Rust in the Linux kernel (Google security blog)

Rust in the Linux kernel (Google security blog)

Posted Apr 17, 2021 22:49 UTC (Sat) by mathstuf (subscriber, #69389)
In reply to: Rust in the Linux kernel (Google security blog) by Vipketsh
Parent article: Rust in the Linux kernel (Google security blog)

> From what I remember reading some time ago there is no such chain from the initial rust compiler (written in C++) to the ones used today (written in rust).

The initial compilers were written in OCaml. When Rust was mature enough to bootstrap, migration to that was done.

There is mrustc (written in C++) which does not do lifetime verification. It can compile 1.19 and from there the compiler can be chained up. Its author has gone onto other academic ventures at this time however.


to post comments

Rust in the Linux kernel (Google security blog)

Posted Apr 18, 2021 18:03 UTC (Sun) by Tobu (subscriber, #24111) [Link]

mrustc gets updated from time to time to shorten the bootstrap chain, here is the 1.39 update, before that it compiled 1.29 and 1.19 (there's 60 weeks between these Rust releases).


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds