Skip to content

Commit 937da74

Browse files
authored
Update ctest to ctest2 (#395)
This swaps out ctest with a fork which has been updated to be able to compile on newer rustc versions. This fixes the failing tests on nightly in CI recently introduced. Long-term we should consider moving off of ctest, but that's a larger effort with more unknowns.
1 parent d39fcb4 commit 937da74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

systest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ curl-sys = { path = "../curl-sys" }
1111
libc = "0.2"
1212

1313
[build-dependencies]
14-
ctest = { git = 'https://github.com/alexcrichton/ctest', branch = 'use-maybe-unini' }
14+
ctest2 = "0.4"
1515
cc = "1.0"

systest/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::env;
22
use std::str;
33

44
fn main() {
5-
let mut cfg = ctest::TestGenerator::new();
5+
let mut cfg = ctest2::TestGenerator::new();
66

77
let mut build = cc::Build::new();
88
build.file("version_detect.c");

0 commit comments

Comments
 (0)