[rust-dev] how is Rust bootstrapped?

Owen Shepherd owen.shepherd at e43.eu
Mon Jun 9 03:16:11 PDT 2014

The Rust compiler is written in Rust. The build process downloads a
prebuilt rustc binary to use for bootstrapping.

The C++ compiler dependency is for LLVM.

Owen Shepherd
http://owenshepherd.net | owen.shepherd at e43.eu

On 9 June 2014 11:12, Zoltán Tóth <zo1980 at gmail.com> wrote:

> My question is rather theoretical, from the libre-and-open-source-software
> point of view.
> Bootstrapping needs an already existing language to compile the first
> executable version of Rust.
> I read that this was OCaml at some time. I do not have OCaml on my
> machine, but still managed to build from a cloned Rust repo. The
> documentation says that building requires a C++ compiler. These suggest
> that the project moved from OCaml to C++.
> But there are also some texts on the web and in the source that suggests
> that stage0 is actually not compiled from the source repository, but is
> downloaded as a binary snapshot. If this latter is the case, then can
> someone compile a suitable stage0 from [C++|OCaml] source himself?
> _______________________________________________
> Rust-dev mailing list
> Rust-dev at mozilla.org
> https://mail.mozilla.org/listinfo/rust-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/rust-dev/attachments/20140609/5c2c45c4/attachment.html>

More information about the Rust-dev mailing list