Heads up! Building Stylo in local developer builds
cpeterson at mozilla.com
Fri Jul 28 19:11:35 UTC 2017
btw, there is a mach bootstrap bug on Windows if you had previously
installed the i686 rustc toolchain instead of the x86_64 toolchain:
Bug 1385241 - ./mach bootstrap: error: component 'rust-std' for target
'i686-pc-windows-msvc' is required for toolchain
'stable-i686-pc-windows-msvc' and cannot be re-added
You can fix this problem by running:
rustup default stable-x86_64-pc-windows-msvc
On 2017-07-28 1:04 AM, Chris Peterson wrote:
> Stylo support (pref'd off) has been built in automation builds for a
> couple weeks. Ralph Giles just landed bug 1384258 to also build Stylo
> support (pref'd off) in local developer builds, too. You should rerun
> `mach bootstrap` to make sure you have the latest versions of the Stylo
> and Rust dependencies.
> Stylo currently builds on Windows, Mac, and Linux64. Linux32 is
> temporarily blocked by some build issues. Android support will follow
> after Firefox 57. Stylo adds a lot of new Rust code, which slows down
> Firefox build times. The Firefox build peers and Rust developers are
> working on a couple different methods to improve Rust build times.
> If you don't work directly on Rust code locally, the biggest speedup
> available is probably sccache, a drop-in replacement for ccache that
> also supports Rust. Ted shared instructions for installing sccache on
> dev-platform earlier this week . IIUC, sccache works best on Linux.
> There are currently some sccache bugs on Mac  and Windows (bug 1318370).
> To enable Stylo for testing, set the "layout.css.servo.enabled" pref =
> true and report problems in the #servo IRC channel.
>  https://github.com/mozilla/sccache/issues/163
More information about the firefox-dev