On Saturday, March 19, 2016 at 9:18:21 PM UTC-7, Cameron Kaiser wrote: > On 3/19/16 5:27 AM, cosinusoida...@gmail.com wrote: > > On Thursday, 17 March 2016 12:23:32 UTC, Henri Sivonen wrote: > >> On Thu, Mar 17, 2016 at 1:58 PM, Martin Stransky <stran...@redhat.com> > >> wrote: > >>> Is it possible to build Rust from sources before Firefox build executes? > >> > >> rustc is written in Rust, so if you only have source code and the > >> compilers that are currently available in Fedora, you can't build > >> rustc. At minimum, you need a "stage0" compiler, which is an archived > >> older rustc binary. (rustc originally bootstrapped with OCaml, but > >> building the whole history of Rust from the OCaml days to present > >> every time Fedora builds Firefox seems excessively impractical.) > > > > Out of interest, would that actually involve building every single Linux > > snapshot from > > https://github.com/rust-lang/rust/blob/master/src/snapshots.txt in > > sequence? All 319 of them? > > And are those the steps you'd actually have to take to bring Rust up > from scratch on a new platform? > > Cameron Kaiser > tier-3s in rain dept.
No, to bootstrap Rust you don't have to rebuild it's entire snapshot history. You cross compile from a platform that already has a compiler. The exact process is slightly different for every platform. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform