parent
33067b35dc
commit
95787e0215
@ -1,38 +0,0 @@
|
|||||||
From e8589e45b63f65b18d0086dad03eda35a33ec150 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Josh Stone <jistone@redhat.com>
|
|
||||||
Date: Thu, 23 Apr 2020 11:20:56 -0700
|
|
||||||
Subject: [PATCH] Upgrade to cargo 0.44
|
|
||||||
|
|
||||||
---
|
|
||||||
src/build.rs | 13 ++++++-------
|
|
||||||
1 file changed, 6 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/build.rs b/src/build.rs
|
|
||||||
index 2ea9a9aaf863..7610d598b606 100644
|
|
||||||
--- a/src/build.rs
|
|
||||||
+++ b/src/build.rs
|
|
||||||
@@ -263,15 +263,14 @@ pub fn cbuild(
|
|
||||||
|
|
||||||
pub fn config_configure(config: &mut Config, args: &ArgMatches<'_>) -> CliResult {
|
|
||||||
let arg_target_dir = &args.value_of_path("target-dir", config);
|
|
||||||
- let config_args: Vec<&str> = args.values_of("config").unwrap_or_default().collect();
|
|
||||||
- let quiet = if args.is_present("quiet") {
|
|
||||||
- Some(true)
|
|
||||||
- } else {
|
|
||||||
- None
|
|
||||||
- };
|
|
||||||
+ let config_args: Vec<_> = args
|
|
||||||
+ .values_of("config")
|
|
||||||
+ .unwrap_or_default()
|
|
||||||
+ .map(String::from)
|
|
||||||
+ .collect();
|
|
||||||
config.configure(
|
|
||||||
args.occurrences_of("verbose") as u32,
|
|
||||||
- quiet,
|
|
||||||
+ args.is_present("quiet"),
|
|
||||||
args.value_of("color"),
|
|
||||||
args.is_present("frozen"),
|
|
||||||
args.is_present("locked"),
|
|
||||||
--
|
|
||||||
2.25.3
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
|||||||
--- cargo-c-0.6.3/Cargo.toml 2020-04-16T19:03:23+00:00
|
|
||||||
+++ cargo-c-0.6.3/Cargo.toml 2020-04-23T18:22:04.383679+00:00
|
|
||||||
@@ -34,7 +34,7 @@
|
|
||||||
version = "1.0"
|
|
||||||
|
|
||||||
[dependencies.cargo]
|
|
||||||
-version = "0.43"
|
|
||||||
+version = "0.44"
|
|
||||||
|
|
||||||
[dependencies.cbindgen]
|
|
||||||
version = "0.14.0"
|
|
@ -1 +1 @@
|
|||||||
SHA512 (cargo-c-0.6.3.crate) = 610a29c474e103fe1ef2037081fdbea60cab9e0f4931640d9469dad02644b994f21a4604f9908cd85b22d31fc500030642d4f647dcaded32c2171c58d79517c4
|
SHA512 (cargo-c-0.6.4.crate) = b348c821f35b2ad5c68f1de707f336409f4e27f716dc41164091c11449b30ef85008e511ed7a6b3f1bbfe9c1309656d3763678cfa5113afecf9ae749ea37ad1b
|
||||||
|
Loading…
Reference in new issue