Attempt to remove `sh.exe` from PATH

trying^2
Bradlee Speice 2020-01-12 18:37:15 -05:00
parent 56fc28dc47
commit 437e3f9d05
2 changed files with 6 additions and 2 deletions

View File

@ -14,8 +14,9 @@ before_script:
- rustup update - rustup update
- rustup component add clippy - rustup component add clippy
- rustup component add rustfmt - rustup component add rustfmt
- 'echo $PATH' # CMake doesn't like `sh.exe` being available on Windows,
- 'which sh.exe' # and since we don't use it elsewhere, just remove from PATH
- export PATH="${PATH/:\/bin/}"
script: script:
- cargo clippy --all - cargo clippy --all

View File

@ -99,6 +99,9 @@ pub fn main() {
.whitelist_type("aeron_.*") .whitelist_type("aeron_.*")
.whitelist_var("AERON_.*") .whitelist_var("AERON_.*")
.constified_enum_module("aeron_.*_enum") .constified_enum_module("aeron_.*_enum")
// Some padding structures use arrays > 120 elements,
// so we can't derive Debug implementations
.derive_debug(false)
.generate() .generate()
.expect("Unable to generate aeron_driver bindings"); .expect("Unable to generate aeron_driver bindings");