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"
|
2020-03-11 00:04:51 +03:00
|
|
|
rev = "e3c3388e6632cf55e08d773b32e58b1cab9b2731"
|
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-06-03 00:28:31 +03:00
|
|
|
tag = "v0.4.0"
|
2019-11-01 17:55:56 +03:00
|
|
|
|
2020-05-09 03:36:48 +03:00
|
|
|
[source."https://github.com/mozilla/mp4parse-rust"]
|
|
|
|
git = "https://github.com/mozilla/mp4parse-rust"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
rev = "0dc3e6e7c5371fe21f69b847f61c65fe6d6dc317"
|
|
|
|
|
2020-04-01 20:04:29 +03:00
|
|
|
[source."https://github.com/mozilla/application-services"]
|
|
|
|
git = "https://github.com/mozilla/application-services"
|
|
|
|
replace-with = "vendored-sources"
|
2020-05-30 05:44:07 +03:00
|
|
|
rev = "57a07e89e9ac92756b60b67c4a6ee06975b86288"
|
2020-04-01 20:04:29 +03:00
|
|
|
|
2020-02-28 17:17:33 +03:00
|
|
|
[source."https://github.com/mozilla-spidermonkey/jsparagus"]
|
|
|
|
git = "https://github.com/mozilla-spidermonkey/jsparagus"
|
|
|
|
replace-with = "vendored-sources"
|
2020-06-05 14:04:23 +03:00
|
|
|
rev = "a62ca363140935fdd77549b6e17bb9d79f76af75"
|
2020-02-28 17:17:33 +03:00
|
|
|
|
2019-11-14 07:59:56 +03:00
|
|
|
[source."https://github.com/kvark/spirv_cross"]
|
2020-05-16 05:27:33 +03:00
|
|
|
branch = "wgpu3"
|
2019-11-14 07:59:56 +03:00
|
|
|
git = "https://github.com/kvark/spirv_cross"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2020-05-06 00:13:53 +03:00
|
|
|
[source."https://github.com/kinetiknz/mio-named-pipes"]
|
|
|
|
git = "https://github.com/kinetiknz/mio-named-pipes"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
rev = "21c26326f5f45f415c49eac4ba5bc41a2f961321"
|
|
|
|
|
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"
|
2020-05-05 16:39:15 +03:00
|
|
|
rev = "70431f444cf164177cb3c0f060698fc35f811be5"
|
2019-12-11 23:57:35 +03:00
|
|
|
|
2020-03-25 17:43:05 +03:00
|
|
|
[source."https://github.com/bytecodealliance/wasmtime"]
|
|
|
|
git = "https://github.com/bytecodealliance/wasmtime"
|
2019-12-05 07:26:50 +03:00
|
|
|
replace-with = "vendored-sources"
|
2020-04-30 14:57:24 +03:00
|
|
|
rev = "b7cfd39b531680217537cfcf5294a22077a0a58d"
|
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-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-17 18:37:27 +03:00
|
|
|
rev = "d510da5999a744c563b0acd18056069d1698273f"
|
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-17 18:37:27 +03:00
|
|
|
rev = "5e870faf6f95d79d11efc813e56370ad124bbed5"
|
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-05-28 12:54:57 +03:00
|
|
|
rev = "23cce37c8565708023c869913c0f24c2fda860d8"
|
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@"
|