From 3d5a5ddbc7f3bba3c16095f09d4eca08864ed9a0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 12 Aug 2018 16:04:20 -0700 Subject: [PATCH] Update `ctest` dependency --- systest/Cargo.toml | 2 +- systest/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systest/Cargo.toml b/systest/Cargo.toml index 53afa6a65..cf5f0d1cd 100644 --- a/systest/Cargo.toml +++ b/systest/Cargo.toml @@ -8,4 +8,4 @@ miniz-sys = { path = '../miniz-sys' } libc = "0.2" [build-dependencies] -ctest = "0.1.7" +ctest = "0.2.0" diff --git a/systest/build.rs b/systest/build.rs index 5d42be724..0eb11e5ad 100644 --- a/systest/build.rs +++ b/systest/build.rs @@ -4,7 +4,7 @@ fn main() { let mut cfg = ctest::TestGenerator::new(); cfg.header("miniz.h") .include(concat!(env!("CARGO_MANIFEST_DIR"), "/../miniz-sys")) - .type_name(|s, _| { + .type_name(|s, _, _| { if s == "mz_internal_state" { "struct mz_internal_state".to_string() } else {