Skip to content

Commit

Permalink
Fix building with restore-state-usize
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Aug 21, 2024
1 parent 3a328a8 commit 824b367
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ impl RestoreState {
feature = "restore-state-u8",
feature = "restore-state-u16",
feature = "restore-state-u32",
feature = "restore-state-u64"
feature = "restore-state-u64",
feature = "restore-state-usize"
)))]
return Self(());

Expand All @@ -163,6 +164,9 @@ impl RestoreState {

#[cfg(feature = "restore-state-u64")]
return Self(0);

#[cfg(feature = "restore-state-usize")]
return Self(0);
}
}

Expand Down

0 comments on commit 824b367

Please sign in to comment.