diff --git a/.travis.yml b/.travis.yml index a3bc34d..c710407 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,8 +14,9 @@ before_script: - rustup update - rustup component add clippy - rustup component add rustfmt - - 'echo $PATH' - - 'which sh.exe' + # CMake doesn't like `sh.exe` being available on Windows, + # and since we don't use it elsewhere, just remove from PATH + - export PATH="${PATH/:\/bin/}" script: - cargo clippy --all diff --git a/aeron-driver-sys/build.rs b/aeron-driver-sys/build.rs index 451b4b2..326dcbd 100644 --- a/aeron-driver-sys/build.rs +++ b/aeron-driver-sys/build.rs @@ -99,6 +99,9 @@ pub fn main() { .whitelist_type("aeron_.*") .whitelist_var("AERON_.*") .constified_enum_module("aeron_.*_enum") + // Some padding structures use arrays > 120 elements, + // so we can't derive Debug implementations + .derive_debug(false) .generate() .expect("Unable to generate aeron_driver bindings");