mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 01:39:21 +03:00
75980fb243
Summary: Rust dependencies are vendored in by downloading a package containing all Rust dependencies. The package can be updated using the new `vendorcrates.py` script. Test Plan: Build using the vendored packages. Reviewers: quark, #mercurial Reviewed By: quark Differential Revision: https://phabricator.intern.facebook.com/D6689642 Tasks: T24908724 Signature: 6689642:1515548647:8051ec3dadd98873f0312bb67978846ba029b558
19 lines
620 B
Plaintext
19 lines
620 B
Plaintext
# Vendor in Rust crates. "build/hg-vendored-crates" is populated by the
|
|
# contents of a vendor package downloaded from Dewey with the hash in
|
|
# ".hg-vendored-crates".
|
|
|
|
[source.crates-io]
|
|
replace-with = "vendored-sources"
|
|
|
|
[source.vendored-sources]
|
|
directory = "build/hg-vendored-crates"
|
|
|
|
# On OS X targets, configure the linker to perform dynamic lookup of undefined
|
|
# symbols. This allows the library to be used as a Python extension.
|
|
|
|
[target.i686-apple-darwin]
|
|
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"]
|
|
|
|
[target.x86_64-apple-darwin]
|
|
rustflags = ["-C", "link-args=-Wl,-undefined,dynamic_lookup"]
|