-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Updating the Rust compiler used by Servo
The Rust compiler is prebuilt for Servo, targeting our main host platforms (OSX and Linux), each targeting both the native host platform and Android.
A special TravisCI integration is connected to our fork of Rust, in the travis branch. It will automatically build on OSX and Linux and then deploy that build to an S3 bucket corresponding to the git SHA of the head commit.
To create a new cached Rust compiler, pull from Rust master into our fork (carefully avoiding squashing our .travis.yml file with the very different one used by the Rust team!) and then watch for the completed TravisCI build.
Once a build has been uploaded, the SHA of the head commit from our Rust fork needs to be entered into the file src/compiler/rust/compiler-version. A subsequent run of the configure script will pull down the new compiler from our S3 bucket and use that instead of the old one.