mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
c173540215
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
13 lines
387 B
Plaintext
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
|