Skip to content

Commit

Permalink
Bump cargo version
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Nov 21, 2023
1 parent dcc2df6 commit b1164a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-c"
version = "0.9.27+cargo-0.74.0"
version = "0.9.28+cargo-0.75.0"
authors = ["Luca Barbato <[email protected]>"]
description = "Helper program to build and install c-like libraries"
license = "MIT"
Expand All @@ -9,7 +9,7 @@ readme = "README.md"
repository = "https://github.com/lu-zero/cargo-c"
categories = ["command-line-utilities", "development-tools::cargo-plugins"]
keywords = ["cargo", "cdylib"]
rust-version = "1.70"
rust-version = "1.72"

[[bin]]
name = "cargo-capi"
Expand All @@ -28,7 +28,7 @@ name = "cargo-ctest"
path = "src/bin/ctest.rs"

[dependencies]
cargo = "0.74.0"
cargo = "0.75.1"
cargo-util = "0.2"
semver = "1.0.3"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ pub fn cbuild(
default_profile: &str,
) -> anyhow::Result<(Vec<CPackage>, CompileOptions)> {
let rustc = config.load_global_rustc(Some(ws))?;
let targets = args.targets();
let targets = args.targets()?;
let target = match targets.len() {
0 => rustc.host.to_string(),
1 => targets[0].to_string(),
Expand Down

0 comments on commit b1164a0

Please sign in to comment.