diff --git a/Cargo.toml b/Cargo.toml index dffcd06..99ca0a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "zero" -version = "0.1.2" +version = "0.1.3" authors = ["Nick Cameron "] description = "A Rust library for zero-allocation parsing of binary data." license = "Apache-2.0 OR MIT" repository = "https://github.com/nrc/zero" readme = "README.md" +edition = "2021" [dependencies] diff --git a/src/lib.rs b/src/lib.rs index 88a977e..785d57b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -270,6 +270,9 @@ mod test { read_array::(a); } + // This test seems to be broken because LLVM is optimising the layout of the array such that + // after skipping the first entry, it is 32bit aligned. Not sure how to force the layout. + #[ignore] #[test] #[should_panic] fn test_array_unaligned() {