Bug 1477792 - Save the rust-analysis on macOS searchfox builds. r=emilio
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 23 Jul 2018 14:49:04 -0400
changeset 427823 778572e3e6bc002ac38f20194c5fac04bdc1527c
parent 427822 69500fda8331f23f89fc06e0b9f0a94f82fd15f9
child 427824 df1e31672e14adb91f484a387204bb2cad8f6edd
push id66734
push userkgupta@mozilla.com
push dateMon, 23 Jul 2018 19:32:45 +0000
treeherderautoland@df1e31672e14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1477792, 1432475
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1477792 - Save the rust-analysis on macOS searchfox builds. r=emilio This is the equivalent of bug 1432475 but for macOS. MozReview-Commit-ID: DT8V9Vd9eLS
browser/config/mozconfigs/macosx64/debug-searchfox
--- a/browser/config/mozconfigs/macosx64/debug-searchfox
+++ b/browser/config/mozconfigs/macosx64/debug-searchfox
@@ -2,12 +2,16 @@ MOZ_AUTOMATION_BUILD_SYMBOLS=0
 MOZ_AUTOMATION_PACKAGE_TESTS=0
 MOZ_AUTOMATION_L10N_CHECK=0
 
 . $topsrcdir/build/macosx/mozconfig.common
 
 ac_add_options --enable-debug
 ac_add_options --enable-dmd
 
+# Save rust analysis (this requires unlocking the unstable features)
+export RUSTC_BOOTSTRAP=1
+export RUSTFLAGS="-Zsave-analysis"
+
 ac_add_options --enable-clang-plugin
 ac_add_options --enable-mozsearch-plugin
 
 . "$topsrcdir/build/mozconfig.common.override"