Skip to content

Commit 46bd413

Browse files
committed
Bump cargo version
1 parent 3a8b13d commit 46bd413

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cargo-c"
3-
version = "0.10.3+cargo-0.81.0"
3+
version = "0.10.4+cargo-0.82.0"
44
authors = ["Luca Barbato <[email protected]>"]
55
description = "Helper program to build and install c-like libraries"
66
license = "MIT"
@@ -28,7 +28,7 @@ name = "cargo-ctest"
2828
path = "src/bin/ctest.rs"
2929

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

src/bin/capi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn main() -> CliResult {
6868
if cmd == "install" {
6969
cinstall(&ws, &packages)?;
7070
} else if cmd == "test" {
71-
ctest(&ws, &config, subcommand_args, &packages, compile_opts)?;
71+
ctest(&ws, subcommand_args, &packages, compile_opts)?;
7272
}
7373

7474
Ok(())

src/bin/ctest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ fn main() -> CliResult {
4040

4141
let (packages, compile_opts) = cbuild(&mut ws, &config, subcommand_args, "dev")?;
4242

43-
ctest(&ws, &config, subcommand_args, &packages, compile_opts)
43+
ctest(&ws, subcommand_args, &packages, compile_opts)
4444
}

src/build.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ pub fn cbuild(
10681068
let only_staticlib = !libkinds.contains(&"cdylib");
10691069
let only_cdylib = !libkinds.contains(&"staticlib");
10701070

1071-
let profile = args.get_profile_name(config, default_profile, ProfileChecking::Custom)?;
1071+
let profile = args.get_profile_name(default_profile, ProfileChecking::Custom)?;
10721072

10731073
let profiles = Profiles::new(ws, profile)?;
10741074

@@ -1254,13 +1254,12 @@ pub fn cbuild(
12541254

12551255
pub fn ctest(
12561256
ws: &Workspace,
1257-
config: &GlobalContext,
12581257
args: &ArgMatches,
12591258
packages: &[CPackage],
12601259
mut compile_opts: CompileOptions,
12611260
) -> CliResult {
12621261
compile_opts.build_config.requested_profile =
1263-
args.get_profile_name(config, "test", ProfileChecking::Custom)?;
1262+
args.get_profile_name("test", ProfileChecking::Custom)?;
12641263
compile_opts.build_config.mode = CompileMode::Test;
12651264

12661265
compile_opts.filter = ops::CompileFilter::new(

0 commit comments

Comments
 (0)