Skip to content

Commit b1164a0

Browse files
committed
Bump cargo version
1 parent dcc2df6 commit b1164a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-c"
3-
version = "0.9.27+cargo-0.74.0"
3+
version = "0.9.28+cargo-0.75.0"
44
authors = ["Luca Barbato <lu_zero@gentoo.org>"]
55
description = "Helper program to build and install c-like libraries"
66
license = "MIT"
@@ -9,7 +9,7 @@ readme = "README.md"
99
repository = "https://github.com/lu-zero/cargo-c"
1010
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
1111
keywords = ["cargo", "cdylib"]
12-
rust-version = "1.70"
12+
rust-version = "1.72"
1313

1414
[[bin]]
1515
name = "cargo-capi"
@@ -28,7 +28,7 @@ name = "cargo-ctest"
2828
path = "src/bin/ctest.rs"
2929

3030
[dependencies]
31-
cargo = "0.74.0"
31+
cargo = "0.75.1"
3232
cargo-util = "0.2"
3333
semver = "1.0.3"
3434
log = "0.4"

src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ pub fn cbuild(
10401040
default_profile: &str,
10411041
) -> anyhow::Result<(Vec<CPackage>, CompileOptions)> {
10421042
let rustc = config.load_global_rustc(Some(ws))?;
1043-
let targets = args.targets();
1043+
let targets = args.targets()?;
10441044
let target = match targets.len() {
10451045
0 => rustc.host.to_string(),
10461046
1 => targets[0].to_string(),

0 commit comments

Comments
 (0)