Bug 1477792 - Save the rust-analysis on macOS searchfox builds. r?emilio draft
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 23 Jul 2018 14:49:04 -0400
changeset 821622 38b0cba74c3c4c6246a752d407f56d09af055745
parent 821595 ff3fab43d24dfdaa8971d92cc4caaf4dc9f54dba
child 821623 a496b70e98b758b8de79207e5d0a6994a59157ec
push id117152
push userkgupta@mozilla.com
push dateMon, 23 Jul 2018 18:50:15 +0000
reviewersemilio
bugs1477792, 1432475
milestone63.0a1
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"