1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-30 01:38:12 -05:00

Main API needs 1.34

This commit is contained in:
Bradlee Speice 2020-01-12 20:58:31 -05:00
parent 07d336a90c
commit b86a876fdf
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ jobs:
include:
- rust: stable
os: linux
- rust: 1.33.0
- rust: 1.34.0
os: linux
- rust: stable
os: osx

View File

@ -103,7 +103,7 @@ mod tests {
.expect("Unable to memory map CnC file")
};
let metadata: &MetaDataDefinition = unsafe { &*(mmap.as_ptr().cast()) };
let metadata: &MetaDataDefinition = unsafe { &*(mmap.as_ptr() as *const MetaDataDefinition) };
assert_eq!(metadata.cnc_version, CNC_VERSION);
}
}