Main API needs 1.34

pull/23/head
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: 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

View File

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