Skip to content

Commit

Permalink
offset_simple_packed works in Miri these days
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 26, 2024
1 parent 1053970 commit f1007bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
- name: Test with Miri
run: |
cargo miri test
cargo miri test --all-features
style:
name: lints and formatting
Expand Down
1 change: 0 additions & 1 deletion src/offset_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ mod tests {
}

#[test]
#[cfg_attr(miri, ignore)] // this creates unaligned references
fn offset_simple_packed() {
#[repr(C, packed)]
struct Foo {
Expand Down

0 comments on commit f1007bd

Please sign in to comment.