Commit 0a24425a authored by Xavier Deguillard's avatar Xavier Deguillard Committed by Facebook Github Bot

use third-party vendored Rust crates

Summary:
Instead of fetching a tarball for the vendored Rust crates, let's just use
what's present in third-party/rust.

Reviewed By: wez, fanzeyi

Differential Revision: D19770580

fbshipit-source-id: ca6615a5f5c672d9a5527ad47feab6bdd33a39db
parent 4f6a2d4e
...@@ -865,9 +865,9 @@ git-fetch-with-cli = true ...@@ -865,9 +865,9 @@ git-fetch-with-cli = true
self._patchup_workspace(build_source_dir) self._patchup_workspace(build_source_dir)
try: try:
from getdeps.facebook.lfs import crates_io_download from getdeps.facebook.rust import vendored_crates
crates_io_download(self.build_opts, self.build_dir, build_source_dir) vendored_crates(self.build_opts, build_source_dir)
except ImportError: except ImportError:
# This FB internal module isn't shippped to github, # This FB internal module isn't shippped to github,
# so just rely on cargo downloading crates on it's own # so just rely on cargo downloading crates on it's own
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment