summaryrefslogtreecommitdiffstats
path: root/build/mozconfig.rust
diff options
context:
space:
mode:
Diffstat (limited to 'build/mozconfig.rust')
-rw-r--r--build/mozconfig.rust10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/mozconfig.rust b/build/mozconfig.rust
new file mode 100644
index 000000000..65177a6bd
--- /dev/null
+++ b/build/mozconfig.rust
@@ -0,0 +1,10 @@
+# Options to enable rust in automation builds.
+
+# Tell configure to use the tooltool rustc.
+# Assume this is compiled with --enable-rpath so we don't
+# have to set LD_LIBRARY_PATH.
+RUSTC="$topsrcdir/rustc/bin/rustc"
+CARGO="$topsrcdir/cargo/bin/cargo"
+
+# Enable rust in the build.
+ac_add_options --enable-rust