1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-05 19:55:47 +03:00

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
This commit is contained in:
Xavier Deguillard
2020-02-06 17:02:21 -08:00
committed by Facebook Github Bot
parent c278695674
commit 8b79c69b6c

View File

@@ -865,9 +865,9 @@ git-fetch-with-cli = true
self._patchup_workspace(build_source_dir)
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:
# This FB internal module isn't shippped to github,
# so just rely on cargo downloading crates on it's own