Skip to content

Commit

Permalink
Ignore test_array_unaligned; bump version
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Cameron <nrc@ncameron.org>
  • Loading branch information
nrc committed Nov 27, 2022
1 parent 4a72475 commit 3b6043c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "zero"
version = "0.1.2"
version = "0.1.3"
authors = ["Nick Cameron <ncameron@mozilla.com>"]
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]
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ mod test {
read_array::<Zero>(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() {
Expand Down

0 comments on commit 3b6043c

Please sign in to comment.