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.) Fedora's policy seems to prohibit continuous shipping of stage0 as a Mozilla-provided binary, so it seems to me that either Fedora needs to maintain rustc bootstrapped according to policy (bootstrapping using Mozilla-provided stage0 once) or a policy waiver for Firefox is needed. See also https://internals.rust-lang.org/t/perfecting-rust-packaging/2623 -- Henri Sivonen hsivo...@hsivonen.fi https://hsivonen.fi/ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform