Le 17/03/2016 à 14:01, Martin Stransky a écrit : > On 03/17/2016 01:47 PM, Sylvestre Ledru wrote: > > [...] > >> One way which would make the life of Linux distro way easier would be >> to maintain the Firefox rust code in a way it could compile using older rust >> compiler. >> >> For example, imagine that the next Debian stable or Ubuntu LTS ships using >> Rust 2.0, >> we would make sure that the new rust code still compile with Rust 2.0 >> (limiting our capability to use new >> language trick). Just like we do with C++... >> >> Now, with my Debian/Ubuntu hat, maintaining rust backports to be able to >> build new versions of Firefox on stable/LTS releases >> is not going to be easy: rust needs recent versions of LLVM, LLVM is a >> complex beast (with regular bump the minimal version of gcc, etc). >> And here, I am just mentioning i386 & amd64... (Debian/ubuntu don't have any >> rust builds for arm CPU). > > Well, what about other arches? ppc(64), s390, ai64...? For now, nothing has been done on Debian for this (except opening a bug [1]). Using upstream binaries makes our life very easy for i386/amd64. To start doing the porting job to other archs, being able to build using the previous version of the compiler is a requirement. Otherwise, the cross compilation would be needed for each upstream version.
Sylvestre [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809316 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform