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 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

View File

@ -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");