Bug 1414349 - Re-sync the list of top level crates for `mach cargo check`; r=mbrubeck
authorNick Fitzgerald <fitzgen@gmail.com>
Fri, 03 Nov 2017 10:49:34 -0700
changeset 390060 1041e4a4b37844729f925a2195af09d652c66871
parent 390059 ddb12bb581202cf76a51ea3ed4b3adea1bcfc99b
child 390061 901e1a906ea5a84f85df30c5023fa36244af7af3
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 - Re-sync the list of top level crates for `mach cargo check`; r=mbrubeck Because there isn't a single, canonical source of truth, the `mach cargo check`'s list got out of date. MozReview-Commit-ID: EGNc2eNSumT
python/mozbuild/mozbuild/mach_commands.py
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -802,16 +802,17 @@ class CargoProvider(MachCommandBase):
     @SubCommand('cargo', 'check',
                 description='Run `cargo check` on a given crate.  Defaults to gkrust.')
     @CommandArgument('crates', default=None, nargs='*', help='The crate name(s) to check.')
     def check(self, crates=None):
         # XXX duplication with `mach vendor rust`
         crates_and_roots = {
             'gkrust': 'toolkit/library/rust',
             'gkrust-gtest': 'toolkit/library/gtest/rust',
+            'js': 'js/rust',
             'mozjs_sys': 'js/src',
             'geckodriver': 'testing/geckodriver',
         }
 
         if crates == None:
             crates = ['gkrust']
 
         for crate in crates: