Skip to content

Commit 06fabce

Browse files
committed
chore: switch from ctest to ctest2
ctest is nearly unmaintained and emits lots of warnings. Switch to ctest2 to fix those.
1 parent d6d3c0b commit 06fabce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systest/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ libgit2-sys = { path = "../libgit2-sys", features = ['https', 'ssh'] }
1010
libc = "0.2"
1111

1212
[build-dependencies]
13-
ctest = "0.2.17"
13+
ctest2 = "0.4"

systest/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::env;
22
use std::path::PathBuf;
33

44
fn main() {
5-
let mut cfg = ctest::TestGenerator::new();
5+
let mut cfg = ctest2::TestGenerator::new();
66
if let Some(root) = env::var_os("DEP_GIT2_ROOT") {
77
cfg.include(PathBuf::from(root).join("include"));
88
}

0 commit comments

Comments
 (0)