mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1277338 - Add the "mozjs_sys" crate as a root crate; r=froydnj
This commit is contained in:
parent
e586fb1608
commit
dc6fb89f13
@ -77,7 +77,8 @@ Please commit or stash these changes before vendoring, or re-run with `--ignore-
|
||||
# Once we require a new enough cargo to switch to workspaces, we can
|
||||
# just do this once on the workspace root crate.
|
||||
for crate_root in ('toolkit/library/rust/',
|
||||
'toolkit/library/gtest/rust'):
|
||||
'toolkit/library/gtest/rust',
|
||||
'js/src'):
|
||||
path = mozpath.join(self.topsrcdir, crate_root)
|
||||
self._run_command_in_srcdir(args=[cargo, 'generate-lockfile', '--manifest-path', mozpath.join(path, 'Cargo.toml')])
|
||||
self._run_command_in_srcdir(args=[cargo, 'vendor', '--sync', mozpath.join(path, 'Cargo.lock'), vendor_dir])
|
||||
|
Loading…
Reference in New Issue
Block a user