Skip to content

Commit

Permalink
Merge #599
Browse files Browse the repository at this point in the history
599: Relaxed size constrait of Local (closes #597) r=taiki-e a=jeehoonkang

@decathorpe Thank you for reporting this.  It's also kinda hotfix.  As @taiki-e said, we really need CI for i686 and other 32-bit architectures... (#598).

r? @taiki-e 

Co-authored-by: Jeehoon Kang <[email protected]>
  • Loading branch information
bors[bot] and jeehoonkang authored Nov 22, 2020
2 parents a01bb96 + afd5d8f commit 8d97617
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>() <= 2048, "An allocation of `Local` should be <= 2048 bytes.");
}

impl Local {
Expand Down

0 comments on commit 8d97617

Please sign in to comment.