Bug 1414349 - Add mozjs_sys to the top level crate set; r=mbrubeck
authorNick Fitzgerald <fitzgen@gmail.com>
Fri, 03 Nov 2017 10:49:13 -0700
changeset 390059 ddb12bb581202cf76a51ea3ed4b3adea1bcfc99b
parent 390058 0fd6f8ab2c89fe5766e1b4339a675f14037f41e6
child 390060 1041e4a4b37844729f925a2195af09d652c66871
push id32806
push userarchaeopteryx@coole-files.de
push dateSat, 04 Nov 2017 09:56:48 +0000
treeherdermozilla-central@52b2b0d65a90 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs1414349
milestone58.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 1414349 - Add mozjs_sys to the top level crate set; r=mbrubeck This is necessary because it runs as its own taskcluster job, and therefore has its own Cargo.lock file. MozReview-Commit-ID: HjB60bQnMeO
python/mozbuild/mozbuild/vendor_rust.py
--- a/python/mozbuild/mozbuild/vendor_rust.py
+++ b/python/mozbuild/mozbuild/vendor_rust.py
@@ -264,16 +264,17 @@ license file's hash.
         self.log(logging.INFO, 'rm_vendor_dir', {}, 'rm -rf %s' % vendor_dir)
         mozfile.remove(vendor_dir)
         # Once we require a new enough cargo to switch to workspaces, we can
         # just do this once on the workspace root crate.
         crates_and_roots = (
             ('gkrust', 'toolkit/library/rust'),
             ('gkrust-gtest', 'toolkit/library/gtest/rust'),
             ('js', 'js/rust'),
+            ('mozjs_sys', 'js/src'),
             ('webdriver', 'testing/webdriver'),
             ('geckodriver', 'testing/geckodriver'),
         )
 
         lockfiles = []
         for (lib, crate_root) in crates_and_roots:
             path = mozpath.join(self.topsrcdir, crate_root)
             # We use check_call instead of mozprocess to ensure errors are displayed.