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 <jeehoon.kang@kaist.ac.kr>
  • Loading branch information
bors[bot] and jeehoonkang committed Nov 22, 2020
2 parents a01bb96 + afd5d8f commit 262f94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crossbeam-epoch/src/internal.rs
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 262f94d

Please sign in to comment.