diff --git a/js/moz.configure b/js/moz.configure index f6706def33ba..47a682e551d2 100644 --- a/js/moz.configure +++ b/js/moz.configure @@ -18,6 +18,9 @@ def building_js(build_project, help): option(env='JS_STANDALONE', default=building_js, help='Reserved for internal use') +include('../build/moz.configure/rust.configure', + when='--enable-compile-environment') + @depends('JS_STANDALONE') def js_standalone(value): if value: diff --git a/moz.configure b/moz.configure index 0bf96642120e..3b9269a3ff39 100755 --- a/moz.configure +++ b/moz.configure @@ -141,7 +141,7 @@ include('build/moz.configure/warnings.configure', when='--enable-compile-environment') include('build/moz.configure/flags.configure', when='--enable-compile-environment') - +# rust.configure is included by js/moz.configure. js_option('--enable-valgrind', help='Enable Valgrind integration hooks') diff --git a/old-configure.in b/old-configure.in index a7043f163c07..6ec3f9cc9409 100644 --- a/old-configure.in +++ b/old-configure.in @@ -4658,6 +4658,7 @@ export MOZ_APP_NAME export MOZ_APP_REMOTINGNAME export MOZ_DEV_EDITION export RUSTC +export CARGO export MOZILLA_CENTRAL_PATH=$_topsrcdir export STLPORT_CPPFLAGS export STLPORT_LIBS diff --git a/toolkit/moz.configure b/toolkit/moz.configure index 171cd2c3d5bf..c60e0d61f38b 100644 --- a/toolkit/moz.configure +++ b/toolkit/moz.configure @@ -94,11 +94,6 @@ set_define('MOZ_PULSEAUDIO', depends_if(pulseaudio)(lambda _: True)) include('../js/moz.configure') -# Rust -# ============================================================== -include('../build/moz.configure/rust.configure', - when='--enable-compile-environment') - # NodeJS # ============================================================== include('../build/moz.configure/node.configure')