On 11/05/16 21:29, Michal Suchanek wrote:
> Hello,
>
> On 11 May 2016 at 16:21, Jack Moffitt <
ja...@metajack.im> wrote:
>
>> Note that you will not be able to build with 1.8.0 since we depend on
>> many features available only in nightly. You can see which nightly we
>> download by looking at the date in
>>
https://github.com/servo/servo/blob/master/rust-nightly-date
>> (currently 2016-05-07). It may work with slightly newer or older
>> nightlies as well.
>>
>> I suspect the reason you can't download the nightly is that the
>> platform detection code is returning "unknown" for your processor. You
>> might consider filing a bug for that. What target triple do you
>> normally use?
>
> Is such download even available?
You can find the level of Rust support for various platforms documented
here:
https://doc.rust-lang.org/book/getting-started.html#platform-support
If you navigate to
https://static.rust-lang.org/dist/2016-05-07/ (or
similarly for another date) you can find the official builds as well as
rustc-nightly-src.tar.gz, the source package that you can build yourself.
> Back when I tried to build servo for ARM rust claimed ARM
> compatibility but I could not find a prebuilt compiler.
rust-lang.org only started making builds of the standard library for
cross-compiling to ARM a few months ago, but it’s been functional (with
users building their compiler and standard library themselves) for
longer than that.
> I downloaded the x86 version and kind of cross-compiled rust using
> qemu and tweaked the servo build script to skip the download.
As Jack mentioned, you can copy servobuild.example to .servobuild and
configure it with the location of your Rust build. No need to tweak the
script.
> The built servo was more flaky than the x86 one. iirc it seemed to
> require more featureful graphics than fbdev. And i did not have the
> exact nightly used by the build script, too.
Servo does do a lot of stuff of the GPU, but I don’t know the exact
requirements.
--
Simon Sapin