build/mozconfig.rust
author Mike Shal <mshal@mozilla.com>
Fri, 31 May 2019 23:56:12 +0000
changeset 533886 4a7962ae170f16bc2b7b0e50348322ca1f01a7dc
parent 487305 8fc7f2fb5ffc065186311c04058a1bb3917833a5
child 548652 73576d4b23de5f35476f4e3d439adf498b9ab5d1
permissions -rw-r--r--
Bug 1553065 - Use MOZ_LTO environment variable in mozconfig.unix; r=firefox-build-system-reviewers,chmanchester a=RyanVM This makes it consistent with bug 1530908 and 1536194. Differential Revision: https://phabricator.services.mozilla.com/D33171

# Options to enable rust in automation builds.

TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}

# Tell configure to use the tooltool rustc.
RUSTC="$TOOLTOOL_DIR/rustc/bin/rustc"
CARGO="$TOOLTOOL_DIR/rustc/bin/cargo"
RUSTDOC="$TOOLTOOL_DIR/rustc/bin/rustdoc"
RUSTFMT="$TOOLTOOL_DIR/rustc/bin/rustfmt"
CBINDGEN="$TOOLTOOL_DIR/cbindgen/cbindgen"

ac_add_options --enable-rust-simd