mirror of
https://github.com/bspeice/aeron-rs
synced 2025-01-02 02:59:33 -05:00
Main API needs 1.34
This commit is contained in:
parent
07d336a90c
commit
b86a876fdf
@ -4,7 +4,7 @@ jobs:
|
|||||||
include:
|
include:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
os: linux
|
os: linux
|
||||||
- rust: 1.33.0
|
- rust: 1.34.0
|
||||||
os: linux
|
os: linux
|
||||||
- rust: stable
|
- rust: stable
|
||||||
os: osx
|
os: osx
|
||||||
|
@ -103,7 +103,7 @@ mod tests {
|
|||||||
.expect("Unable to memory map CnC file")
|
.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);
|
assert_eq!(metadata.cnc_version, CNC_VERSION);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user