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:
parent
07d336a90c
commit
b86a876fdf
@ -4,7 +4,7 @@ jobs:
|
||||
include:
|
||||
- rust: stable
|
||||
os: linux
|
||||
- rust: 1.33.0
|
||||
- rust: 1.34.0
|
||||
os: linux
|
||||
- rust: stable
|
||||
os: osx
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user