Bug 1175359 - Enable rust in linux64 builds. r=ted

Write a mozconfig fragment which makes the rust toolchain
provided by tooltool available for linux builds.

Use linux64 mozconfigs to enable rust for official builds of
that target. These aren't used outside of automation builds,
so including rust there will verify code on check-in without
requiring developers to install rust.
This commit is contained in:
Ralph Giles 2015-06-16 17:28:41 -07:00
parent e27de83288
commit b8bf69af1d
5 changed files with 13 additions and 0 deletions

View File

@ -4,4 +4,6 @@ ac_add_options --enable-official-branding
mk_add_options MOZ_PGO=1
. "$topsrcdir/build/unix/mozconfig.rust.linux"
. "$topsrcdir/build/mozconfig.common.override"

View File

@ -21,4 +21,6 @@ export MOZ_PACKAGE_JSSHELL=1
ac_add_options --with-branding=browser/branding/nightly
. "$topsrcdir/build/unix/mozconfig.rust.linux"
. "$topsrcdir/build/mozconfig.common.override"

View File

@ -16,4 +16,6 @@ ac_add_options --with-branding=browser/branding/nightly
# Use ccache
. "$topsrcdir/build/mozconfig.cache"
. "$topsrcdir/build/unix/mozconfig.rust.linux"
. "$topsrcdir/build/mozconfig.common.override"

View File

@ -10,4 +10,6 @@ mk_add_options MOZ_PGO=1
# defines.sh during the beta cycle
export BUILDING_RELEASE=1
. "$topsrcdir/build/unix/mozconfig.rust.linux"
. "$topsrcdir/build/mozconfig.common.override"

View File

@ -0,0 +1,5 @@
# Options to enable rust in automation builds.
RUSTC="$topsrcdir/rustc/bin/rustc"
mk_add_options "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$topsrcdir/rustc/lib"
ac_add_options --enable-rust