Removed
Link Here
|
1 |
|
2 |
# HG changeset patch |
3 |
# User Emilio Cobos Álvarez <emilio@crisal.io> |
4 |
# Date 1609006565 0 |
5 |
# Node ID 0e8f444683cb9c4079d3b2250f32f986043ea582 |
6 |
# Parent 55097a5cf353f1b2a2228820bdf26bb69a1372a0 |
7 |
Bug 1684261 - Fix build with rust nightly. r=jrmuizel, a=RyanVM |
8 |
|
9 |
Fixes errors like: |
10 |
|
11 |
dependency (nix) specification is ambiguous. Only one of `branch`, `tag` or `rev` is allowed. |
12 |
|
13 |
I've left the most specific dependency, but for wgpu the rev is not |
14 |
right, so I've kept the branch which effectively preserves behavior. |
15 |
|
16 |
Differential Revision: https://phabricator.services.mozilla.com/D100485 |
17 |
|
18 |
diff --git a/.cargo/config.in b/.cargo/config.in |
19 |
--- .cargo/config.in |
20 |
+++ .cargo/config.in |
21 |
@@ -1,16 +1,16 @@ |
22 |
# This file contains vendoring instructions for cargo. |
23 |
# It was generated by `mach vendor rust`. |
24 |
# Please do not edit. |
25 |
|
26 |
[source."https://github.com/shravanrn/nix/"] |
27 |
-branch = "r0.13.1" |
28 |
git = "https://github.com/shravanrn/nix/" |
29 |
replace-with = "vendored-sources" |
30 |
+rev = "4af6c367603869a30fddb5ffb0aba2b9477ba92e" |
31 |
|
32 |
[source."https://github.com/mozilla/rkv"] |
33 |
git = "https://github.com/mozilla/rkv" |
34 |
replace-with = "vendored-sources" |
35 |
rev = "e3c3388e6632cf55e08d773b32e58b1cab9b2731" |
36 |
|
37 |
[source."https://github.com/mozilla/neqo"] |
38 |
git = "https://github.com/mozilla/neqo" |
39 |
diff --git a/Cargo.lock b/Cargo.lock |
40 |
--- Cargo.lock |
41 |
+++ Cargo.lock |
42 |
@@ -3195,17 +3195,17 @@ source = "registry+https://github.com/ru |
43 |
checksum = "0cdc457076c78ab54d5e0d6fa7c47981757f1e34dc39ff92787f217dede586c4" |
44 |
dependencies = [ |
45 |
"unreachable", |
46 |
] |
47 |
|
48 |
[[package]] |
49 |
name = "nix" |
50 |
version = "0.13.1" |
51 |
-source = "git+https://github.com/shravanrn/nix/?branch=r0.13.1#4af6c367603869a30fddb5ffb0aba2b9477ba92e" |
52 |
+source = "git+https://github.com/shravanrn/nix/?rev=4af6c367603869a30fddb5ffb0aba2b9477ba92e#4af6c367603869a30fddb5ffb0aba2b9477ba92e" |
53 |
dependencies = [ |
54 |
"bitflags", |
55 |
"cc", |
56 |
"cfg-if", |
57 |
"libc", |
58 |
"void", |
59 |
] |
60 |
|
61 |
diff --git a/Cargo.toml b/Cargo.toml |
62 |
--- Cargo.toml |
63 |
+++ Cargo.toml |
64 |
@@ -63,18 +63,18 @@ opt-level = 2 |
65 |
rpath = false |
66 |
debug-assertions = false |
67 |
panic = "abort" |
68 |
|
69 |
[patch.crates-io] |
70 |
libudev-sys = { path = "dom/webauthn/libudev-sys" } |
71 |
packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="3541e3818fdc7c2a24f87e3459151a4ce955a67a" } |
72 |
rlbox_lucet_sandbox = { git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/", rev="d510da5999a744c563b0acd18056069d1698273f" } |
73 |
-nix = { git = "https://github.com/shravanrn/nix/", branch = "r0.13.1", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" } |
74 |
-spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu3", rev = "20191ad2f370afd6d247edcb9ff9da32d3bedb9c" } |
75 |
+nix = { git = "https://github.com/shravanrn/nix/", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" } |
76 |
+spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu3" } |
77 |
# failure's backtrace feature might break our builds, see bug 1608157. |
78 |
failure = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" } |
79 |
failure_derive = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" } |
80 |
|
81 |
[patch.crates-io.cranelift-codegen] |
82 |
git = "https://github.com/bytecodealliance/wasmtime" |
83 |
rev = "b7cfd39b531680217537cfcf5294a22077a0a58d" |
84 |
|
85 |
|