mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +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:
committed by
Facebook Github Bot
parent
c278695674
commit
8b79c69b6c
@@ -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
|
||||||
|
Reference in New Issue
Block a user