cargo: added patch for #28372
This commit is contained in:
parent
fb1736e406
commit
707c0cda46
1 changed files with 14 additions and 0 deletions
14
srcpkgs/cargo/patches/fix-serde.diff
Normal file
14
srcpkgs/cargo/patches/fix-serde.diff
Normal file
|
@ -0,0 +1,14 @@
|
|||
This patch was downloaded from "https://github.com/alexcrichton/cargo/commit/f097d02ea62111493b9f06d096a94dfddd020415.diff"
|
||||
diff --git src/cargo/util/config/de.rs src/cargo/util/config/de.rs
|
||||
index 758f5c23f1..a70cd0dce8 100644
|
||||
--- src/cargo/util/config/de.rs
|
||||
+++ src/cargo/util/config/de.rs
|
||||
@@ -527,7 +527,7 @@ impl<'de, 'config> de::MapAccess<'de> for ValueDeserializer<'config> {
|
||||
seed.deserialize(Tuple2Deserializer(0i32, path.to_string_lossy()))
|
||||
}
|
||||
Definition::Environment(env) => {
|
||||
- seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
|
||||
+ seed.deserialize(Tuple2Deserializer(1i32, env.as_str()))
|
||||
}
|
||||
Definition::Cli => seed.deserialize(Tuple2Deserializer(2i32, "")),
|
||||
}
|
Loading…
Reference in a new issue