gecko-dev/build/mozconfig.rust
Mike Hommey c173540215 Bug 1573435 - Use toolchain fetches for all remaining toolchain uses. r=nalexander
The remaining uses all need adjustements to in-tree mozconfigs, so they
all need to be done at once.

However, to make things slightly more intelligible, we do this in two
steps. This is step 1: we modify the use_toolchain transform to take care of
the transformation, while keeping the task definitions intact, so that
we only deal with mozconfig and build script adjustements here.

Differential Revision: https://phabricator.services.mozilla.com/D41890
2019-08-15 11:21:52 +09:00

13 lines
387 B
Plaintext

# Options to enable rust in automation builds.
TOOLTOOL_DIR=${TOOLTOOL_DIR:-$topsrcdir}
# Tell configure to use the tooltool rustc.
RUSTC="$MOZ_FETCHES_DIR/rustc/bin/rustc"
CARGO="$MOZ_FETCHES_DIR/rustc/bin/cargo"
RUSTDOC="$MOZ_FETCHES_DIR/rustc/bin/rustdoc"
RUSTFMT="$MOZ_FETCHES_DIR/rustc/bin/rustfmt"
CBINDGEN="$MOZ_FETCHES_DIR/cbindgen/cbindgen"
ac_add_options --enable-rust-simd