Skip to content

Commit

Permalink
Relaxed size constrait of Local (closes #597)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeehoonkang committed Nov 13, 2020
1 parent 9c3a8a8 commit 9512d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossbeam-epoch/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ pub struct Local {
// https://github.com/crossbeam-rs/crossbeam/issues/551
#[test]
fn local_size() {
assert_eq!(2040, core::mem::size_of::<Local>());
assert!(core::mem::size_of::<Local>() <= 2040, "An allocation of `Local` should be <= 2048 bytes.");
}

impl Local {
Expand Down

0 comments on commit 9512d9c

Please sign in to comment.