1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-21 05:28:10 -05:00
27: 1.27.0 r=bspeice a=bspeice

bors r+

Co-authored-by: Bradlee Speice <bradlee@speice.io>
This commit is contained in:
bors[bot] 2020-04-09 03:36:03 +00:00 committed by GitHub
commit db61eee228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "aeron-driver-sys"
version = "1.0.0+1.25.1"
version = "1.0.0+1.27.0"
authors = ["Bradlee Speice <bradlee@speice.io>"]
edition = "2018"
links = "aeron_driver"

@ -1 +1 @@
Subproject commit 6d959c2369c345ac177bd3ecc177dc672944af11
Subproject commit 165335804f2695ff264c4b2d83457779d3962286

View File

@ -91,6 +91,10 @@ pub fn main() {
println!("cargo:include={}", header_path.display());
let bindings = bindgen::Builder::default()
.clang_arg(format!("-I{}", header_path.display()))
.clang_arg(format!(
"-I{}",
aeron_path.join("aeron-client/src/main/c").display()
))
.header("bindings.h")
.whitelist_function("aeron_.*")
.whitelist_type("aeron_.*")

View File

@ -13,7 +13,7 @@ mod tests {
let minor = unsafe { crate::aeron_version_minor() };
let patch = unsafe { crate::aeron_version_patch() };
assert_eq!(major, 1);
assert_eq!(minor, 25);
assert_eq!(patch, 1);
assert_eq!(minor, 27);
assert_eq!(patch, 0);
}
}