2019-09-20 03:47:22 +03:00
|
|
|
# This file contains vendoring instructions for cargo.
|
|
|
|
# It was generated by `mach vendor rust`.
|
|
|
|
# Please do not edit.
|
2018-01-03 22:51:52 +03:00
|
|
|
|
2019-11-11 12:19:52 +03:00
|
|
|
[source."https://github.com/shravanrn/nix/"]
|
|
|
|
branch = "r0.13.1"
|
|
|
|
git = "https://github.com/shravanrn/nix/"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2019-11-13 14:52:46 +03:00
|
|
|
[source."https://github.com/mozilla/rkv"]
|
|
|
|
git = "https://github.com/mozilla/rkv"
|
|
|
|
replace-with = "vendored-sources"
|
2019-11-16 13:58:34 +03:00
|
|
|
rev = "6a866fdad2ca880df9b87fcbc9921abac1e91914"
|
2019-11-13 14:52:46 +03:00
|
|
|
|
2019-11-01 17:55:56 +03:00
|
|
|
[source."https://github.com/mozilla/neqo"]
|
|
|
|
git = "https://github.com/mozilla/neqo"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-14 01:18:07 +03:00
|
|
|
tag = "v0.1.14"
|
2019-11-01 17:55:56 +03:00
|
|
|
|
2019-11-14 07:59:56 +03:00
|
|
|
[source."https://github.com/kvark/spirv_cross"]
|
|
|
|
branch = "wgpu"
|
|
|
|
git = "https://github.com/kvark/spirv_cross"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2020-01-22 10:31:51 +03:00
|
|
|
[source."https://github.com/kvark/peek-poke"]
|
|
|
|
git = "https://github.com/kvark/peek-poke"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
rev = "969bd7fe2be1a83f87916dc8b388c63cfd457075"
|
|
|
|
|
2019-11-14 17:07:23 +03:00
|
|
|
[source."https://github.com/jfkthame/mapped_hyph.git"]
|
|
|
|
git = "https://github.com/jfkthame/mapped_hyph.git"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
tag = "v0.3.0"
|
|
|
|
|
2019-09-20 03:47:22 +03:00
|
|
|
[source."https://github.com/hsivonen/packed_simd"]
|
|
|
|
git = "https://github.com/hsivonen/packed_simd"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-13 00:18:32 +03:00
|
|
|
rev = "3541e3818fdc7c2a24f87e3459151a4ce955a67a"
|
2016-09-09 01:12:34 +03:00
|
|
|
|
2019-12-11 23:57:35 +03:00
|
|
|
[source."https://github.com/djg/cubeb-pulse-rs"]
|
|
|
|
git = "https://github.com/djg/cubeb-pulse-rs"
|
|
|
|
replace-with = "vendored-sources"
|
2019-12-10 18:43:18 +03:00
|
|
|
rev = "8069f8f4189982e0b38fa6dc8993dd4fab41f728"
|
2019-12-11 23:57:35 +03:00
|
|
|
|
2019-12-05 07:26:50 +03:00
|
|
|
[source."https://github.com/bytecodealliance/cranelift"]
|
|
|
|
git = "https://github.com/bytecodealliance/cranelift"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-10 19:50:57 +03:00
|
|
|
rev = "98c818c129979e98a3db150f8f9698f6451b7ef7"
|
2019-12-05 07:26:50 +03:00
|
|
|
|
2020-01-10 17:00:39 +03:00
|
|
|
[source."https://github.com/badboy/failure"]
|
|
|
|
git = "https://github.com/badboy/failure"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5"
|
|
|
|
|
2019-09-20 03:47:22 +03:00
|
|
|
[source."https://github.com/alexcrichton/mio-named-pipes"]
|
|
|
|
branch = "master"
|
|
|
|
git = "https://github.com/alexcrichton/mio-named-pipes"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2019-11-11 12:19:52 +03:00
|
|
|
[source."https://github.com/PLSysSec/rlbox_lucet_sandbox/"]
|
|
|
|
git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-12 07:11:49 +03:00
|
|
|
rev = "6ddc15b70f0d902241742fd55c689649cad100f8"
|
2019-11-11 12:19:52 +03:00
|
|
|
|
|
|
|
[source."https://github.com/PLSysSec/lucet_sandbox_compiler"]
|
|
|
|
git = "https://github.com/PLSysSec/lucet_sandbox_compiler"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-12 07:11:49 +03:00
|
|
|
rev = "a3fd180d53a6f929a7ef47466ffc2e53338ad4f1"
|
2019-11-11 12:19:52 +03:00
|
|
|
|
2019-12-10 18:43:17 +03:00
|
|
|
[source."https://github.com/ChunMinChang/cubeb-coreaudio-rs"]
|
|
|
|
git = "https://github.com/ChunMinChang/cubeb-coreaudio-rs"
|
|
|
|
replace-with = "vendored-sources"
|
2020-02-13 18:52:30 +03:00
|
|
|
rev = "7fe03b4201160f84aad1c12536affe6b05f8839f"
|
2019-12-10 18:43:17 +03:00
|
|
|
|
2019-09-20 03:47:22 +03:00
|
|
|
[source.crates-io]
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
|
|
|
# Take advantage of the fact that cargo will treat lines starting with #
|
|
|
|
# as comments to add preprocessing directives. This file can thus by copied
|
|
|
|
# as-is to $topsrcdir/.cargo/config with no preprocessing to be used there
|
|
|
|
# (for e.g. independent tasks building rust code), or be preprocessed by
|
|
|
|
# the build system to produce a .cargo/config with the right content.
|
|
|
|
#define REPLACE_NAME vendored-sources
|
|
|
|
#define VENDORED_DIRECTORY third_party/rust
|
|
|
|
# We explicitly exclude the following section when preprocessing because
|
|
|
|
# it would overlap with the preprocessed [source."@REPLACE_NAME@"], and
|
|
|
|
# cargo would fail.
|
|
|
|
#ifndef REPLACE_NAME
|
|
|
|
[source.vendored-sources]
|
|
|
|
directory = "third_party/rust"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
# Thankfully, @REPLACE_NAME@ is unlikely to be a legitimate source, so
|
|
|
|
# cargo will ignore it when it's here verbatim.
|
|
|
|
#filter substitution
|
|
|
|
[source."@REPLACE_NAME@"]
|
Bug 1575760 - Make `mach vendor rust` create a .cargo/config and check it in the tree. r=nalexander
Maybe back when .cargo/config.in was added, the directory indicated for
vendored crates needed to be absolute. That is at least not the case
with the current supported versions of rust.
The current setup has a few caveats:
- .cargo/config.in has shown to become stale (it currently contains
multiple unused entries)
- non-gecko build tasks have to generate a .cargo/config on their own if
they want to use vendored crates
- in turn, non-gecko build tasks that don't, may unknowingly get their
dependencies from crates.io (see the recent attempt at moving
geckodriver builds to a separate task).
By checking in a .cargo/config file, we can alleviate the last two, but
that comes at the price of `cargo update` not wanting to act when
.cargo/config exists, because of the source replacement configuration.
But rust vendor gently generates a suitable configuration on its own, so
we can use that to generate a .cargo/config automatically. Which
addresses the first caveat of the current setup. That leaves us with
`cargo update` not working out of the box, but that just requires people
running it to manually remove .cargo/config first. Which is arguably
what rust wants you to do in the first place. It's kind of incidental
that we started with a .cargo/config.in rather than .cargo/config.
Now, while a simple .cargo/config works, that's not enough for the case
where the objdir doesn't live inside the source directory. In that case
cargo looks for the configuration from the objdir, and fails to find it.
So we still need a .cargo/config.in, which we generate with a little
trick.
Differential Revision: https://phabricator.services.mozilla.com/D43012
--HG--
rename : .cargo/config.in => .cargo/config
extra : moz-landing-system : lando
2019-08-27 01:20:32 +03:00
|
|
|
directory = "@top_srcdir@/@VENDORED_DIRECTORY@"
|